Changeset 113
- Timestamp:
- 11/19/08 13:37:22 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bindings/scripts/include/sc_creature.cpp
r109 r113 477 477 } 478 478 479 /*if (!pUnit->CanHaveThreatList() || pUnit->getThreatManager().isThreatListEmpty())479 if (!pUnit->CanHaveThreatList() || pUnit->getThreatManager().isThreatListEmpty()) 480 480 { 481 481 error_log("SD2: DoZoneInCombat called for creature that either cannot have threat list or has empty threat list (pUnit entry = %d)", pUnit->GetTypeId() == TYPEID_UNIT ? ((Creature*)pUnit)->GetEntry() : 0); 482 482 483 483 return; 484 } */484 } 485 485 486 486 InstanceMap::PlayerList const &PlayerList = ((InstanceMap*)map)->GetPlayers();