From f47210df4e8f96b463df755d1fea7a1b7aa55fe9 Mon Sep 17 00:00:00 2001 From: Major Cooke Date: Tue, 6 Nov 2018 11:23:52 -0600 Subject: [PATCH] Fixed inconsistency. - P_Thing_Raise returned true while P_Thing_CanRaise returned false for the condition of having no raise state. P_Thing_Raise now returns false. --- src/p_things.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_things.cpp b/src/p_things.cpp index 010eb2e9d..e7de17aab 100644 --- a/src/p_things.cpp +++ b/src/p_things.cpp @@ -440,7 +440,7 @@ bool P_Thing_Raise(AActor *thing, AActor *raiser, int nocheck) FState * RaiseState = thing->GetRaiseState(); if (RaiseState == NULL) { - return true; // monster doesn't have a raise state + return false; // monster doesn't have a raise state } AActor *info = thing->GetDefault ();