Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10689 in orxonox.OLD for branches/adm/src/world_entities/weapons


Ignore:
Timestamp:
Jun 13, 2007, 5:51:40 PM (18 years ago)
Author:
retolu
Message:

first shooting of the turret

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  
    112112void AimingSystem::hit(float damage, WorldEntity* killer)
    113113{
    114   if( this->owner != killer)
     114  if( this->owner != killer && killer != this && !killer->isA( AimingSystem::staticClassID() ) )
    115115  {
    116116    //PRINTF(0)("real hit: %s\n", killer->getClassCName());
     
    127127void AimingSystem::tick(float dt)
    128128{
    129 
    130 
    131129}
    132130
Note: See TracChangeset for help on using the changeset viewer.