mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-21 11:21:04 +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
71d2b39d92
commit
f47210df4e
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ bool P_Thing_Raise(AActor *thing, AActor *raiser, int nocheck)
|
||||||
FState * RaiseState = thing->GetRaiseState();
|
FState * RaiseState = thing->GetRaiseState();
|
||||||
if (RaiseState == NULL)
|
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 ();
|
AActor *info = thing->GetDefault ();
|
||||||
|
|
Loading…
Reference in a new issue