Skip to content

Commit

Permalink
maybe compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Apr 27, 2016
1 parent 1c15b42 commit 7a18f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/simtools/Mix.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 7a18f6e

Please sign in to comment.