Permalink
Browse files

msvc compile fix

  • Loading branch information...
jacob1 committed Apr 24, 2018
1 parent de757bc commit f9211c2f90cac7fc3380f1fda3215bfd1317b4e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/elements/STKM.cpp
@@ -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);

0 comments on commit f9211c2

Please sign in to comment.