aboutsummaryrefslogtreecommitdiff
path: root/src/game/Corpse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Corpse.cpp')
-rw-r--r--src/game/Corpse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Corpse.cpp b/src/game/Corpse.cpp
index e15d535ca37..7fc8dc7fb50 100644
--- a/src/game/Corpse.cpp
+++ b/src/game/Corpse.cpp
@@ -70,8 +70,9 @@ void Corpse::RemoveFromWorld()
Object::RemoveFromWorld();
}
-bool Corpse::Create( uint32 guidlow )
+bool Corpse::Create( uint32 guidlow, Map *map )
{
+ SetMap(map);
Object::_Create(guidlow, 0, HIGHGUID_CORPSE);
return true;
}