Changeset 113 for trunk

Show
Ignore:
Timestamp:
11/19/08 13:37:22 (17 years ago)
Author:
yumileroy
Message:

[svn] * Revert change to DoZoneInCombat? made in [114] as it can cause problems. DoZoneInCombat? is NOT meant to be used by creatures that cannot have threatlists or have empty threatlists.

Original author: Seline
Date: 2008-10-26 13:58:39-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/bindings/scripts/include/sc_creature.cpp

    r109 r113  
    477477    } 
    478478 
    479     /*if (!pUnit->CanHaveThreatList() || pUnit->getThreatManager().isThreatListEmpty()) 
     479    if (!pUnit->CanHaveThreatList() || pUnit->getThreatManager().isThreatListEmpty()) 
    480480    { 
    481481        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); 
    482482 
    483483        return; 
    484     }*/ 
     484    } 
    485485 
    486486    InstanceMap::PlayerList const &PlayerList = ((InstanceMap*)map)->GetPlayers();