aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrostshake <115376645+Frostshake@users.noreply.github.com>2025-01-11 21:03:14 +0000
committerGitHub <noreply@github.com>2025-01-11 22:03:14 +0100
commit781fe731dd8b438a9988347f68e09b5216b07652 (patch)
tree6f64b6da06282749b3550a9264ba847fbc8ed3f7
parentd9c2720393e95c9e0bac5c5d1d95bbdcf94d5c5b (diff)
Core/Players: Fix resurrection timer missing if logging in while dead (#30598)
-rw-r--r--src/server/game/Handlers/CharacterHandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp
index 2dbfcb4ff78..72037caa62f 100644
--- a/src/server/game/Handlers/CharacterHandler.cpp
+++ b/src/server/game/Handlers/CharacterHandler.cpp
@@ -1313,6 +1313,10 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder const& holder)
pCurrChar->CastSpell(pCurrChar, 8326, true); // auras SPELL_AURA_GHOST, SPELL_AURA_INCREASE_SPEED(why?), SPELL_AURA_INCREASE_SWIM_SPEED(why?)
pCurrChar->SetWaterWalking(true);
+
+ int32 const delay = pCurrChar->CalculateCorpseReclaimDelay(true);
+ if (delay > 0)
+ pCurrChar->SendCorpseReclaimDelay(delay);
}
pCurrChar->ContinueTaxiFlight();