mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
msvc compile fix
This commit is contained in:
@@ -439,7 +439,7 @@ int Element_STKM::run_stickman(playerst *playerp, UPDATE_FUNC_ARGS) {
|
|||||||
{
|
{
|
||||||
if (playerp->elem == PT_PHOT)
|
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)
|
if (random==0)
|
||||||
{
|
{
|
||||||
sim->kill_part(np);
|
sim->kill_part(np);
|
||||||
|
Reference in New Issue
Block a user