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

[svn] *** Source: MaNGOS ***
* Fixed build extractor at Windows Vista. Author: Vladimir
* Fixed comment text and code indentifiers spelling. Author: Vladimir & Paradox.
* Access cached member lists in guild handlers instead of querying the DB. Author: Hunuza
* Small fixes in send/received packet and simple code cleanup also. Author: Vladimir
* Not output error at loading empty character_ticket table. Author: Vladimir
* Not reset display model at shapeshift aura remove if it not set at apply. Author: Arthorius
* Applied props to few files.

Original author: visagalis
Date: 2008-11-14 16:28:45-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/ThreatManager.cpp

    r198 r229  
    133133    { 
    134134        Creature* creature = (Creature* ) getSourceUnit(); 
    135         online = getTarget()->isInAccessablePlaceFor(creature); 
     135        online = getTarget()->isInAccessiblePlaceFor(creature); 
    136136        if(!online) 
    137137        { 
    138138            if(creature->AI()->canReachByRangeAttack(getTarget())) 
    139                 online = true;                              // not accessable but stays online 
     139                online = true;                              // not accessible but stays online 
    140140        } 
    141141        else 
     
    156156        iOnline = pIsOnline; 
    157157        if(!iOnline) 
    158             setAccessibleState(false);                      // if not online that not accessable as well 
     158            setAccessibleState(false);                      // if not online that not accessible as well 
    159159        fireStatusChanged(ThreatRefStatusChangeEvent(UEV_THREAT_REF_ONLINE_STATUS, this)); 
    160160    } 
     
    279279        assert(target);                                     // if the ref has status online the target must be there ! 
    280280         
    281         // some units are prefered in comparison to others 
     281        // some units are preferred in comparison to others 
    282282        if(iter != lastRef && (target->IsImmunedToDamage(pAttacker->GetMeleeDamageSchoolMask(), false) || 
    283283                target->hasUnitState(UNIT_STAT_CONFUSED | UNIT_STAT_FLEEING)