Changeset 55 for trunk/src/game/Unit.cpp
- Timestamp:
- 11/19/08 13:29:45 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.cpp
r44 r55 478 478 } 479 479 480 //Script Event damage Deal481 if( GetTypeId()== TYPEID_UNIT && ((Creature *)this)->AI())482 ((Creature *)this)->AI()->DamageDeal(pVictim, damage);483 480 //Script Event damage taken 484 481 if( pVictim->GetTypeId()== TYPEID_UNIT && ((Creature *)pVictim)->AI() )