Changeset 145 for trunk/src/game/Object.cpp
- Timestamp:
- 11/19/08 13:40:25 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Object.cpp
r141 r145 1484 1484 1485 1485 if(pCreature->GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER && pCreature->m_spells[0]) 1486 { 1487 if(GetTypeId() == TYPEID_UNIT || GetTypeId() == TYPEID_PLAYER) 1488 pCreature->setFaction(((Unit*)this)->getFaction()); 1486 1489 pCreature->CastSpell(pCreature, pCreature->m_spells[0], true, 0, 0, GetGUID()); 1490 } 1487 1491 1488 1492 //return the creature therewith the summoner has access to it