From 7adc34932fb7b32a0ab07ef3a7db6a33ffce29c8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 20 Jan 2017 19:55:57 +0100 Subject: [PATCH] - fixed: The state parameter for CallStateChain was checked for the wrong type. --- src/p_actionfunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_actionfunctions.cpp b/src/p_actionfunctions.cpp index 8b5916207..7a4e92eb2 100644 --- a/src/p_actionfunctions.cpp +++ b/src/p_actionfunctions.cpp @@ -223,7 +223,7 @@ DEFINE_ACTION_FUNCTION(ACustomInventory, CallStateChain) { PARAM_SELF_PROLOGUE(AStateProvider); PARAM_OBJECT(affectee, AActor); - PARAM_STATE(state); + PARAM_POINTER(state, FState); ACTION_RETURN_BOOL(self->CallStateChain(affectee, state)); }