Changeset 6737 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Jan 25, 2006, 9:29:45 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r6736 r6737 217 217 bool WeaponManager::addWeapon(Weapon* weapon, int configID, int slotID) 218 218 { 219 assert(weapon != NULL); 219 //if ( weapon == NULL ) 220 return false; 220 221 221 222 if (unlikely(configID >= WM_MAX_CONFIGS || slotID >= (int)this->slotCount))
Note: See TracChangeset
for help on using the changeset viewer.