- Timestamp:
- Jan 13, 2016, 11:13:30 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/orxonox/weaponsystem/WeaponPack.cc
r11059 r11062 159 159 void WeaponPack::updateMunition() 160 160 { 161 for ( std::vector<Weapon *>::const_iterator it = this->weapons_.begin(); it != this->weapons_.end(); ++it)162 (*it)->updateMunition();161 for (Weapon* weapon : this->weapons_) 162 weapon->updateMunition(); 163 163 } 164 164 }
Note: See TracChangeset
for help on using the changeset viewer.