*SetMap for corpse in Create function as other objects.
--HG-- branch : trunk
This commit is contained in:
1 parent
da9de7135d
commit
296771f7e7
3 files changed
+4
-4
No files matched your search
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user