Changeset 10345 in orxonox.OLD for branches/playability/src/world_entities/projectiles/lbolt.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/lbolt.cc
r10274 r10345 61 61 this->halo->setSize(.35, .35); 62 62 this->halo->setTexture("hbolt_halo.png"); 63 64 63 65 } 64 66 … … 86 88 void LBolt::activate() 87 89 { 90 this->origList = this->getOMListNumber(); 88 91 this->toList(OM_ENVIRON); 89 92 if (unlikely(LBolt::explosionParticles == NULL)) … … 143 146 for( ObjectList<Playable>::const_iterator eIterator = Playable::objectList().begin(); eIterator !=Playable::objectList().end(); eIterator++) 144 147 { 145 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) 146 149 { 147 150 (*eIterator)->hit (this->getDamage(),this);
Note: See TracChangeset
for help on using the changeset viewer.