mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/Corpses): Reset corpse location data if player already resurrected in different dungeon map. (#9429)
Fixes #9210
This commit is contained in:
@@ -4514,6 +4514,8 @@ void Player::RemoveCorpse()
|
||||
CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
Corpse::DeleteFromDB(GetGUID(), trans);
|
||||
CharacterDatabase.CommitTransaction(trans);
|
||||
|
||||
_corpseLocation.WorldRelocate();
|
||||
}
|
||||
|
||||
void Player::SpawnCorpseBones(bool triggerSave /*= true*/)
|
||||
|
||||
Reference in New Issue
Block a user