mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-26 09:24:28 +02:00
maybe compile fix
This commit is contained in:
@@ -17,7 +17,7 @@ int Tool_Mix::Perform(Simulation * sim, Particle * cpart, int x, int y, float st
|
|||||||
if(rand() % 100 != 0)
|
if(rand() % 100 != 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
int distance = (int)(std::pow(strength, .5) * 10);
|
int distance = (int)(std::pow(strength, .5f) * 10);
|
||||||
|
|
||||||
if(!(sim->elements[thisPart&0xFF].Properties & TYPE_PART))
|
if(!(sim->elements[thisPart&0xFF].Properties & TYPE_PART))
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user