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 10, 2019
1 parent 203110c commit 8273698
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/p_lnspec.cpp
Expand Up @@ -3961,8 +3961,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 8273698

Please sign in to comment.