Permalink
Browse files

Fix return value of native BuiltinCallLineSpecial

  • Loading branch information...
marrub-- authored and coelckers committed Jan 9, 2019
1 parent cf967b3 commit adeb8fb65b985c5005b10f37a530644ac55bc586
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/scripting/backend/codegen.cpp
@@ -8544,9 +8544,9 @@ FxExpression *FxActionSpecialCall::Resolve(FCompileContext& ctx)
//
//==========================================================================

void BuiltinCallLineSpecial(int special, AActor *activator, int arg1, int arg2, int arg3, int arg4, int arg5)
int BuiltinCallLineSpecial(int special, AActor *activator, int arg1, int arg2, int arg3, int arg4, int arg5)
{
P_ExecuteSpecial(special, nullptr, activator, 0, arg1, arg2, arg3, arg4, arg5);
return P_ExecuteSpecial(special, nullptr, activator, 0, arg1, arg2, arg3, arg4, arg5);
}

DEFINE_ACTION_FUNCTION_NATIVE(DObject, BuiltinCallLineSpecial, BuiltinCallLineSpecial)

0 comments on commit adeb8fb

Please sign in to comment.