Permalink
Browse files

fix compiling error on windows

  • Loading branch information...
jacob1 committed Feb 11, 2015
1 parent 6204015 commit 84f13cfe635d9db4df398670d1e76611905affbc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/elements/SING.cpp
@@ -83,7 +83,7 @@ int Element_SING::update(UPDATE_FUNC_ARGS)
}
}
spawncount = std::abs(parts[i].tmp);
spawncount = (spawncount>255) ? 3019 : std::pow((int)(spawncount/8), 2)*M_PI;
spawncount = (spawncount>255) ? 3019 : std::pow((double)(spawncount/8), 2)*M_PI;
for (int j = 0;j < spawncount; j++)
{
switch(rand()%3)

0 comments on commit 84f13cf

Please sign in to comment.