Changeset 135 for trunk/src/game/PetHandler.cpp
- Timestamp:
- 11/19/08 13:39:16 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/PetHandler.cpp
r102 r135 167 167 unit_target = NULL; 168 168 169 if (((Creature*)pet)->GetGlobalCooldown() > 0) 170 return; 171 169 172 // do not cast unknown spells 170 173 SpellEntry const *spellInfo = sSpellStore.LookupEntry(spellid ); … … 602 605 } 603 606 607 if (pet->GetGlobalCooldown() > 0) 608 return; 609 604 610 SpellEntry const *spellInfo = sSpellStore.LookupEntry(spellid); 605 611 if(!spellInfo)