maybe compile fix
This commit is contained in:
parent
1c15b426d5
commit
7a18f6ec09
@ -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;
|
||||
|
Reference in New Issue
Block a user