Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 20, 2007, 8:00:41 PM (18 years ago)
Author:
rennerc
Message:

less collision hacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/projectiles/nadion_blast.cc

    r10737 r10740  
    180180  this->angle += NadionBlast::rotationSpeed * dt;
    181181//   this->trail->tick(dt);
    182 
    183   for( ObjectList<ActionboxEnemy>::const_iterator eIterator = ActionboxEnemy::objectList().begin(); eIterator !=ActionboxEnemy::objectList().end(); eIterator++)
    184   {
    185     if( ((*eIterator)->getOMListNumber() != (this->origList -1))  && ((*eIterator)->getAbsCoor() - this->getAbsCoor()).len() <= 8)
    186     {
    187       (*eIterator)->destroy(this); //hit (this->getDamage(),this);
    188       this->deactivate();
    189       PRINTF(0)("NadionBlast destroyed\n");
    190     }
    191   }
    192182}
    193183
Note: See TracChangeset for help on using the changeset viewer.