maybe compile fix

This commit is contained in:
jacob1 2016-04-26 23:22:36 -04:00
parent 1c15b426d5
commit 7a18f6ec09

View File

@ -17,7 +17,7 @@ int Tool_Mix::Perform(Simulation * sim, Particle * cpart, int x, int y, float st
if(rand() % 100 != 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))
return 0;