- fixed parameter mixup with P_CanResurrect.

This commit is contained in:
Christoph Oelckers 2018-11-17 16:21:08 +01:00
commit 701b793f24
2 changed files with 6 additions and 6 deletions

View file

@ -463,7 +463,7 @@ bool P_Thing_Raise(AActor *thing, AActor *raiser, int nocheck)
return false;
}
if (!P_CanResurrect(thing, raiser))
if (!P_CanResurrect(raiser, thing))
return false;
S_Sound (thing, CHAN_BODY, "vile/raise", 1, ATTN_IDLE);