Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2007, 4:39:18 PM (17 years ago)
Author:
marcscha
Message:

Acid Launcher and Acid Splash (projectile) finished.
Temporally dist check instead of collision on swarm projectile (collision manager problem which needs to be tracked down first)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/swarm_projectile.cc

    r10153 r10168  
    8888void SwarmProjectile::activate()
    8989{
     90  this->toList(OM_ENVIRON);
    9091  if (unlikely(SwarmProjectile::explosionParticles == NULL))
    9192  {
     
    103104  }
    104105
    105 
    106   this->updateNode(0);
    107106  this->emitter->setEmissionRate(50.0);
    108107  this->emitter->setEmissionVelocity(0.0);
     
    272271  this->lastDir = this->curDir;
    273272  this->curDir = this->velocity;
    274 /*
    275273  if( (this->getAbsCoor() - this->target->getAbsCoor()).len() < 3)   // FIXME  Temp fake workaround for collision :)
    276274  {
    277275    dynamic_cast<WorldEntity*>(target)->destroy( this);
    278276    this->destroy( this);
    279   }*/
     277  }
    280278}
    281279
Note: See TracChangeset for help on using the changeset viewer.