Permalink
Browse files

maybe compile fix

  • Loading branch information...
jacob1 committed Apr 27, 2016
1 parent 1c15b42 commit 7a18f6ec094544c59572cc48c9e60c38bf7ede82
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/simtools/Mix.cpp
@@ -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;

0 comments on commit 7a18f6e

Please sign in to comment.