Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 22, 2009, 10:38:34 PM (15 years ago)
Author:
rgrieder
Message:

Removed useless damage_ config value from Projectile. Rather use the XML parameter in WeaponMode for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/modules/weapons/projectiles/Projectile.cc

    r6295 r6401  
    4848        this->bDestroy_ = false;
    4949        this->owner_ = 0;
     50        this->damage_ = 15;
    5051
    5152        // Get notification about collisions
     
    7273    void Projectile::setConfigValues()
    7374    {
    74         SetConfigValue(damage_, 15.0).description("The damage caused by the projectile");
    7575        SetConfigValue(lifetime_, 4.0).description("The time in seconds a projectile stays alive");
    7676    }
Note: See TracChangeset for help on using the changeset viewer.