Changeset 3074 for code/trunk/src/orxonox/objects/weaponsystem
- Timestamp:
- May 25, 2009, 8:40:39 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects/weaponsystem
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/weaponsystem/Munition.cc
r3053 r3074 356 356 return false; 357 357 358 if (amount <= needed_magazines)358 if (amount <= (unsigned int)needed_magazines) 359 359 { 360 360 // We need more magazines than we get, so just add them -
code/trunk/src/orxonox/objects/weaponsystem/WeaponSystem.cc
r3053 r3074 214 214 unsigned int i = 0; 215 215 Weapon* weapon = 0; 216 while ( weapon = wPack->getWeapon(i++))216 while ((weapon = wPack->getWeapon(i++))) 217 217 weapon->getWeaponSlot()->removeWeapon(); 218 218
Note: See TracChangeset
for help on using the changeset viewer.