Changeset 10740 in orxonox.OLD for branches/presentation/src/world_entities/projectiles/nadion_blast.cc
- Timestamp:
- Jun 20, 2007, 8:00:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/projectiles/nadion_blast.cc
r10737 r10740 180 180 this->angle += NadionBlast::rotationSpeed * dt; 181 181 // 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 }192 182 } 193 183
Note: See TracChangeset
for help on using the changeset viewer.