*Try to fix crash.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-31 09:18:39 -06:00
1 parent be89c6bb2a
commit 031df598ab
14 files changed
+36 -49

No files matched your search

-1
View File
@@ -4368,7 +4368,6 @@ bool ChatHandler::HandleCreatePetCommand(const char* args)
pet->GetCharmInfo()->SetPetNumber(objmgr.GeneratePetNumber(), true);
// this enables pet details window (Shift+P)
pet->AIM_Initialize();
pet->InitPetCreateSpells();
pet->SetHealth(pet->GetMaxHealth());