Core/Players: Fix resurrection timer missing if logging in while dead

Port From (https://github.com/TrinityCore/TrinityCore/commit/781fe731dd8b438a9988347f68e09b5216b07652)
This commit is contained in:
Hondacrx
2025-06-04 09:12:16 -04:00
parent a978731a00
commit 1fb0ef50cc
+4
View File
@@ -947,6 +947,10 @@ namespace Game
pCurrChar.CastSpell(pCurrChar, 8326, new CastSpellExtraArgs(true)); // auras SPELL_AURA_GHOST, SPELL_AURA_INCREASE_SPEED(why?), SPELL_AURA_INCREASE_SWIM_SPEED(why?)
pCurrChar.SetWaterWalking(true);
int delay = pCurrChar.CalculateCorpseReclaimDelay(true);
if (delay > 0)
pCurrChar.SendCorpseReclaimDelay(delay);
}
pCurrChar.ContinueTaxiFlight();