- Timestamp:
- Apr 21, 2016, 4:47:39 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sagerjFS16/src/orxonox/weaponsystem/WeaponMode.cc
r11170 r11174 168 168 } 169 169 170 bool WeaponMode::push(float* reloadTime) 171 { 172 if( this->chargeable_) 173 { 174 // setting up a timer for knowing how long the weapon was charged 175 // and passes the value to this->cTime_ 176 } else { 177 return fire(reloadTime); 178 } 179 180 } 181 170 182 bool WeaponMode::release(float* reloadTime) 171 183 { 172 this->release(); 173 return false; 184 if( this->chargeable_) 185 { 186 return fire(reloadTime); 187 } 174 188 } 175 189
Note: See TracChangeset
for help on using the changeset viewer.