Permalink
Browse files

Make LevelLocals::ExecuteSpecial return int

  • Loading branch information...
marrub-- authored and coelckers committed Jan 9, 2019
1 parent 203110c commit 82736985cc29b706f89bcf575e1d9d342285c795
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/p_lnspec.cpp
@@ -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.