TrinityCore/TrinityCore — pull request #10781 by jackpoz (2013-09-11 18:33:10+00:00)
Title: Scripts/Commands: Retrieve Creature template in HandlePetCreateCommand f...

...rom Creature itself

CreatureTemplate can be retrieved directly from the Creature itself instead of using ObjectMgr::GetCreatureTemplate(id) .

Should fix Coverity issue 1087070 .