Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6737 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Jan 25, 2006, 9:29:45 PM (18 years ago)
Author:
patrick
Message:

trunk: merged network back to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon_manager.cc

    r6736 r6737  
    217217bool WeaponManager::addWeapon(Weapon* weapon, int configID, int slotID)
    218218{
    219   assert(weapon != NULL);
     219  //if ( weapon == NULL )
     220    return false;
    220221
    221222  if (unlikely(configID >= WM_MAX_CONFIGS || slotID >= (int)this->slotCount))
Note: See TracChangeset for help on using the changeset viewer.