From ef9cd5365383643bbdb211ae294e6306ad00c7fe Mon Sep 17 00:00:00 2001 From: CandiceJoy Date: Fri, 17 Mar 2023 05:51:06 -0500 Subject: [PATCH] Fixed incorrect parameter type in A_CheckForResurrection. --- src/scripting/vmthunks_actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/vmthunks_actors.cpp b/src/scripting/vmthunks_actors.cpp index 244a05879..f302d335d 100644 --- a/src/scripting/vmthunks_actors.cpp +++ b/src/scripting/vmthunks_actors.cpp @@ -1634,7 +1634,7 @@ int CheckForResurrection(AActor *self, FState* state, int sound) DEFINE_ACTION_FUNCTION_NATIVE(AActor, A_CheckForResurrection, CheckForResurrection) { PARAM_SELF_PROLOGUE(AActor); - PARAM_STATE(state); + PARAM_POINTER(state, FState); PARAM_INT(sound); ACTION_RETURN_BOOL(CheckForResurrection(self, state, sound)); }