- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/orxonox/weaponsystem/WeaponSet.cc
r10916 r10917 63 63 { 64 64 // Fire all WeaponPacks with their defined weaponmode 65 for ( auto& mapEntry : this->weaponpacks_)65 for (const auto& mapEntry : this->weaponpacks_) 66 66 if (mapEntry.second != WeaponSystem::WEAPON_MODE_UNASSIGNED) 67 67 mapEntry.first->fire(mapEntry.second); … … 71 71 { 72 72 // Reload all WeaponPacks with their defined weaponmode 73 for ( auto& mapEntry : this->weaponpacks_)73 for (const auto& mapEntry : this->weaponpacks_) 74 74 mapEntry.first->reload(); 75 75 }
Note: See TracChangeset
for help on using the changeset viewer.