Changeset 81 for trunk/src/game/Unit.cpp

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

[svn] Implement CREATURE_FLAG_EXTRA_TRIGGER. In GM mode, creatures flagged with this will be displayed with displayid_a, in non-gm mode with displayid_h.

Original author: w12x
Date: 2008-10-20 13:41:05-05:00

Files:
1 modified

Legend:

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

    r74 r81  
    84588458        return false; 
    84598459 
     8460    if(GetTypeId()==TYPEID_UNIT && (((Creature *)this)->GetCreatureInfo()->flags_extra & CREATURE_FLAG_EXTRA_TRIGGER)) 
     8461        return false; 
     8462 
    84608463    return isAlive() && !hasUnitState(UNIT_STAT_DIED)&& !isInFlight() /*&& !isStealth()*/; 
    84618464}