Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 12, 2008, 11:02:40 PM (16 years ago)
Author:
landauf
Message:

small cleanup in KeyBinder (don't panic reto, I've only replaced SetConfigValueGeneric with SetConfigValue) and ParticleProjectile uses now Particle::speedChanged() as a callback function instead of implementing it's own version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/orxonox/objects/ParticleProjectile.cc

    r1596 r1597  
    6767    }
    6868
    69     void ParticleProjectile::speedChanged()
    70     {
    71         Projectile::speed_s = this->speed_;
    72         if (this->owner_)
    73             this->setVelocity(this->owner_->getInitialDir() * this->speed_);
    74     }
    75 
    7669    void ParticleProjectile::changedVisibility()
    7770    {
Note: See TracChangeset for help on using the changeset viewer.