*Improvements in map managing.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-08-01 00:20:32 +02:00
1 parent 0db1fd6c26
commit 1d96091d2a
24 files changed
+276 -305

No files matched your search

+2 -1
View File
@@ -1778,9 +1778,10 @@ bool Pet::IsPermanentPetFor(Player* owner)
bool Pet::Create(uint32 guidlow, Map *map, uint32 phaseMask, uint32 Entry, uint32 pet_number)
{
assert(map);
SetMap(map);
SetPhaseMask(phaseMask,false);
SetPhaseMask(phaseMask,false);
Object::_Create(guidlow, pet_number, HIGHGUID_PET);
m_DBTableGuid = guidlow;