From 3642904a4cd9184528f7fa85cdf63330c522d67b Mon Sep 17 00:00:00 2001 From: Eric Robinson <68359262+kphoenix137@users.noreply.github.com> Date: Mon, 23 Jan 2023 17:20:52 -0500 Subject: [PATCH] Fix Resurrect Crash (#5718) --- Source/spells.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/spells.cpp b/Source/spells.cpp index 23d77f362..e7f23ff06 100644 --- a/Source/spells.cpp +++ b/Source/spells.cpp @@ -293,12 +293,12 @@ void DoResurrect(size_t pnum, Player &target) target._pMana = 0; target._pManaBase = target._pMana + (target._pMaxManaBase - target._pMaxMana); + target._pmode = PM_STAND; + CalcPlrInv(target, true); if (target.isOnActiveLevel()) { StartStand(target, target._pdir); - } else { - target._pmode = PM_STAND; } }