Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Float rounding strikes again - set destination coords using integers …
…when moving particles with PSTN instead of adding a delta value to the current position, which might not give the correct result. Particles (except solids) were on rare occasions ending up at a point 1 pixel away from where they should be after being pushed by PSTN. This led to stacking, and in the case of save 1732622, to disintegration of the save. int d; float f; (int)(f)+d does not necessarily equal (int)(f+d)
- Loading branch information