mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
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:
parent
a083eb6421
commit
bddf94d780
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue