fix compiling error on windows
This commit is contained in:
parent
62040154d9
commit
84f13cfe63
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user