Changeset 7847 for code/trunk/src/orxonox/weaponsystem/WeaponMode.cc
- Timestamp:
- Feb 10, 2011, 5:42:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/weaponsystem/WeaponMode.cc
r7163 r7847 127 127 if (this->munition_->reload(this)) 128 128 { 129 if (!this->bParallelReload_) 130 reloadtime += this->munition_->getReloadTime(); 129 if (this->bParallelReload_) 130 reloadtime = std::max(this->reloadTime_, this->munition_->getReloadTime()); 131 else 132 reloadtime = this->reloadTime_ + this->munition_->getReloadTime(); 131 133 } 132 134 }
Note: See TracChangeset
for help on using the changeset viewer.