Skip to content

Commit

Permalink
Make LevelLocals::ExecuteSpecial return int
Browse files Browse the repository at this point in the history
  • Loading branch information
marrub-- authored and coelckers committed Jan 12, 2019
1 parent 241835b commit de8b452
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/p_lnspec.cpp
Expand Up @@ -3960,8 +3960,6 @@ DEFINE_ACTION_FUNCTION(FLevelLocals, ExecuteSpecial)
PARAM_INT(arg4);
PARAM_INT(arg5);

bool res = !!P_ExecuteSpecial(special, linedef, activator, lineside, arg1, arg2, arg3, arg4, arg5);

ACTION_RETURN_BOOL(res);
ACTION_RETURN_INT(P_ExecuteSpecial(special, linedef, activator, lineside, arg1, arg2, arg3, arg4, arg5));
}

0 comments on commit de8b452

Please sign in to comment.