mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-04 22:42:28 +02:00
msvc compile fix
This commit is contained in:
parent
de757bc2c3
commit
f9211c2f90
@ -439,7 +439,7 @@ int Element_STKM::run_stickman(playerst *playerp, UPDATE_FUNC_ARGS) {
|
||||
{
|
||||
if (playerp->elem == PT_PHOT)
|
||||
{
|
||||
int random = abs(random_gen()%3-1)*3;
|
||||
int random = abs((int)(random_gen()%3-1))*3;
|
||||
if (random==0)
|
||||
{
|
||||
sim->kill_part(np);
|
||||
|
Loading…
x
Reference in New Issue
Block a user