Skip to content

Commit

Permalink
msvc compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Apr 24, 2018
1 parent de757bc commit f9211c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/elements/STKM.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit f9211c2

Please sign in to comment.