Skip to content

Commit

Permalink
fix compiling error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Feb 11, 2015
1 parent 6204015 commit 84f13cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/elements/SING.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 84f13cf

Please sign in to comment.