Show
Ignore:
Timestamp:
11/22/08 06:35:03 (17 years ago)
Author:
yumileroy
Message:

*Add UNIT_FLAG_NOT_ATTACKABLE_2. Not attackable, but can be hit by entry-target spells (I guess).

Original author: megamage
Date: 2008-11-22 00:31:24-06:00

Files:
1 modified

Legend:

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

    r285 r288  
    85568556        return false; 
    85578557 
    8558     if(HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE)) 
     8558    if(HasFlag(UNIT_FIELD_FLAGS,  
     8559        UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NOT_ATTACKABLE_2)) 
    85598560        return false; 
    85608561