Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 25, 2006, 6:02:36 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: now Weapons get Loaded on pickup

File:
1 edited

Legend:

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

    r6714 r6728  
    272272    this->parent->addChild(weapon);
    273273  }
     274  if(configID == this->currentConfigID)
     275    this->currentSlotConfig[slotID].nextWeapon = weapon;
    274276  PRINTF(3)("Added a new Weapon (%s::%s) to the WeaponManager: config %i/ slot %i\n", weapon->getClassName(), weapon->getName(), configID, slotID);
    275277  return true;
Note: See TracChangeset for help on using the changeset viewer.