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 drfrag666
parent a083eb6421
commit bddf94d780

View file

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