- Timestamp:
- May 7, 2015, 5:43:36 PM (10 years ago)
- Location:
- code/branches/weaponFS15/src/modules/weapons/weaponmodes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponFS15/src/modules/weapons/weaponmodes/GravityBombFire.cc
r10391 r10435 19 19 RegisterClass(GravityBombFire); 20 20 21 const float GravityBombFire::BOMB_VELOCITY = 400.0; 22 21 23 GravityBombFire::GravityBombFire(Context* context) : WeaponMode(context) 22 24 { … … 26 28 this->bParallelReload_ = false; 27 29 this->damage_ = 0.0f; 28 this->speed_ = 100.0f;30 this->speed_ = BOMB_VELOCITY; 29 31 30 32 this->setMunitionName("GravityBombMunition"); -
code/branches/weaponFS15/src/modules/weapons/weaponmodes/GravityBombFire.h
r10391 r10435 58 58 private: 59 59 float speed_; //!< The initial speed of the bomb when it is launched. 60 static const float BOMB_VELOCITY; 60 61 }; 61 62 }
Note: See TracChangeset
for help on using the changeset viewer.