Changeset 6714 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Jan 25, 2006, 4:24:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r6679 r6714 263 263 264 264 //! @todo check if the weapon is already assigned to another config in another slot 265 assert(this->configs[configID][slotID] == NULL); 265 if (this->configs[configID][slotID] != NULL) 266 return false; 266 267 267 268 this->configs[configID][slotID] = weapon;
Note: See TracChangeset
for help on using the changeset viewer.