Changeset 10345 in orxonox.OLD for branches/playability/src/world_entities/projectiles/hbolt.cc
- Timestamp:
- Jan 24, 2007, 6:13:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/hbolt.cc
r10274 r10345 59 59 this->halo->setSize(.65, .65); 60 60 this->halo->setTexture("hbolt_halo2.png"); 61 61 62 } 62 63 … … 84 85 void HBolt::activate() 85 86 { 87 this->origList = this->getOMListNumber(); 86 88 this->toList(OM_ENVIRON); 87 89 if (unlikely(HBolt::explosionParticles == NULL)) … … 144 146 for( ObjectList<Playable>::const_iterator eIterator = Playable::objectList().begin(); eIterator !=Playable::objectList().end(); eIterator++) 145 147 { 146 if( ((*eIterator)->getOMListNumber() == OM_GROUP_00)&& ((*eIterator)->getAbsCoor() - this->getAbsCoor()).len() <= 8)148 if( ((*eIterator)->getOMListNumber() != (this->origList -1)) && ((*eIterator)->getAbsCoor() - this->getAbsCoor()).len() <= 8) 147 149 { 148 150 (*eIterator)->hit (this->getDamage(),this);
Note: See TracChangeset
for help on using the changeset viewer.