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.
This commit is contained in:
Major Cooke 2018-11-06 11:23:52 -06:00 committed by Christoph Oelckers
parent 71d2b39d92
commit f47210df4e

View file

@ -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 ();