- Timestamp:
- Apr 21, 2016, 4:47:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/orxonox/weaponsystem/Weapon.cc
r11170 r11174 99 99 Fire this Weapon with the the WeaponMode defined by @param mode 100 100 */ 101 void Weapon:: fire(unsigned int mode)101 void Weapon::push(unsigned int mode) 102 102 { 103 103 // To avoid firing with more than one mode at the same time, we lock the weapon (reloading) for … … 125 125 { 126 126 float reloading_time = 0; 127 if (it->second-> fire(&reloading_time))127 if (it->second->push(&reloading_time)) 128 128 { 129 129 this->bReloading_ = true;
Note: See TracChangeset
for help on using the changeset viewer.