From b81a23c5e53ab810083d53ea6963a4e4db981d6f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 25 Jul 2017 08:14:09 +0200 Subject: [PATCH] - fixed return type of CountsAsKill. --- src/p_mobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index e2646ade8..3fff257ad 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -8328,7 +8328,7 @@ DEFINE_ACTION_FUNCTION(AActor, AccuracyFactor) DEFINE_ACTION_FUNCTION(AActor, CountsAsKill) { PARAM_SELF_PROLOGUE(AActor); - ACTION_RETURN_FLOAT(self->CountsAsKill()); + ACTION_RETURN_BOOL(self->CountsAsKill()); } DEFINE_ACTION_FUNCTION(AActor, IsZeroDamage)