mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-14 04:13:59 +02:00
fix elementRecount never being reset to false, fixes #417
This commit is contained in:
@@ -4954,6 +4954,8 @@ void Simulation::RecalcFreeParticles()
|
|||||||
parts[lastPartUnused].life = parts_lastActiveIndex+1;
|
parts[lastPartUnused].life = parts_lastActiveIndex+1;
|
||||||
}
|
}
|
||||||
parts_lastActiveIndex = lastPartUsed;
|
parts_lastActiveIndex = lastPartUsed;
|
||||||
|
if (elementRecount)
|
||||||
|
elementRecount = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Simulation::CheckStacking()
|
void Simulation::CheckStacking()
|
||||||
|
Reference in New Issue
Block a user