Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 20, 2011, 11:27:45 PM (13 years ago)
Author:
dafrick
Message:

Some cleanup…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/weapons/projectiles/BasicProjectile.cc

    r8706 r8767  
    5252        // Default damage must be zero, otherwise it would be above zero if no settings are made in the weaponsettings xml file.
    5353        // same thing for all weaponmodes files
    54         this->damage_ = 0;
    55         this->healthdamage_ = 0;
    56         this->shielddamage_ = 0;
     54        this->damage_ = 0.0f;
     55        this->healthdamage_ = 0.0f;
     56        this->shielddamage_ = 0.0f;
    5757    }
    5858
Note: See TracChangeset for help on using the changeset viewer.