diff options
author | megamage <none@none> | 2009-08-12 07:03:23 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-12 07:03:23 -0500 |
commit | da9de7135d049d746d3f281cd9e9f2fa213f4326 (patch) | |
tree | dc4265453ae2b64101afe03b9c771252e152226f /src/game/ObjectAccessor.cpp | |
parent | 7a548ff9d57f8db6e4296177470cd26d86fe2779 (diff) |
*Fix a crash caused by ConvertCorpseForPlayer
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectAccessor.cpp')
-rw-r--r-- | src/game/ObjectAccessor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/ObjectAccessor.cpp b/src/game/ObjectAccessor.cpp index 43d3d0a1534..4ce90d57219 100644 --- a/src/game/ObjectAccessor.cpp +++ b/src/game/ObjectAccessor.cpp @@ -345,6 +345,7 @@ ObjectAccessor::ConvertCorpseForPlayer(uint64 player_guid, bool insignia) // Create bones, don't change Corpse bones = new Corpse; bones->Create(corpse->GetGUIDLow()); + bones->SetMap(map); for (int i = 3; i < CORPSE_END; ++i) // don't overwrite guid and object type bones->SetUInt32Value(i, corpse->GetUInt32Value(i)); |