- Timestamp:
- Oct 29, 2008, 4:13:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon/src/orxonox/objects/weaponSystem/WeaponSlot.cc
r2049 r2060 59 59 void WeaponSlot::setAmmoType(bool isUnlimited) 60 60 { 61 if (isUnlimited == true) 62 unlimitedAmmo_ = true; 63 else unlimitedAmmo_ = false; 61 unlimitedAmmo_ = isUnlimited; 64 62 } 65 63
Note: See TracChangeset
for help on using the changeset viewer.