Changeset 10545 in orxonox.OLD for trunk/src/world_entities/projectiles/swarm_projectile.cc
- Timestamp:
- Jan 31, 2007, 5:39:05 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/swarm_projectile.cc
r10539 r10545 224 224 this->curDir = this->velocity; 225 225 226 if( this->target != NULL && (this->getAbsCoor() - this->target->getAbsCoor()).len() < 3) // FIXMETemp fake workaround for collision :)226 if( this->target != NULL && (this->getAbsCoor() - this->target->getAbsCoor()).len() < 3) // HACK Temp fake workaround for collision :) 227 227 { 228 228 dynamic_cast<WorldEntity*>(target)->destroy(this); //hit(this->getDamage(), this);
Note: See TracChangeset
for help on using the changeset viewer.