Changeset 10689 in orxonox.OLD for branches/adm/src/world_entities/weapons
- Timestamp:
- Jun 13, 2007, 5:51:40 PM (18 years ago)
- Location:
- branches/adm/src/world_entities/weapons
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/adm/src/world_entities/weapons/aiming_system.cc
r10013 r10689 112 112 void AimingSystem::hit(float damage, WorldEntity* killer) 113 113 { 114 if( this->owner != killer )114 if( this->owner != killer && killer != this && !killer->isA( AimingSystem::staticClassID() ) ) 115 115 { 116 116 //PRINTF(0)("real hit: %s\n", killer->getClassCName()); … … 127 127 void AimingSystem::tick(float dt) 128 128 { 129 130 131 129 } 132 130
Note: See TracChangeset
for help on using the changeset viewer.