Core/Scripts: Added wrapper method for despawning creatures DespawnOrUnsummon

This commit is contained in:
Shauren
2011-01-02 21:33:37 +01:00
parent c2f98606b2
commit 9c0cd63e93
66 changed files with 153 additions and 194 deletions
@@ -411,9 +411,9 @@ public:
case PHASE_CTHUN_DONE:
Creature* pPortal= me->FindNearestCreature(MOB_CTHUN_PORTAL, 10);
if (pPortal)
pPortal->ForcedDespawn();
pPortal->DespawnOrUnsummon();
me->ForcedDespawn();
me->DespawnOrUnsummon();
break;
}
}