- Timestamp:
- Nov 12, 2008, 12:50:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/WeaponSystem.cc
r2145 r2186 52 52 this->activeWeaponSet_ = 0; 53 53 this->parentSpaceShip_ = 0; 54 //this->attachedMunition_ =0;54 this->attachedMunition_ =0; 55 55 } 56 56 … … 80 80 void WeaponSystem::fire(WeaponMode::Enum n) 81 81 { 82 if (n < this->weaponSets_.size())82 if (n < (int)this->weaponSets_.size()) 83 83 this->weaponSets_[n]->fire(); 84 84 } … … 98 98 } 99 99 100 /* 100 Munition * WeaponSystem::getAttachedMunitionPointer() 101 { 102 return this->attachedMunition_; 103 } 104 101 105 void WeaponSystem::addMunitionType(Munition *munitionPointer) 102 106 { … … 106 110 this->attachedMunition_ = munitionPointer; 107 111 else 108 this->unlimitedAmmo_ = true;112 ;//was? 109 113 110 114 } 111 */ 115 112 116 113 117 }
Note: See TracChangeset
for help on using the changeset viewer.