Changeset 6803 in orxonox.OLD for trunk/src/world_entities/weapons/weapon_manager.cc
- Timestamp:
- Jan 28, 2006, 11:14:40 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_manager.cc
r6778 r6803 185 185 * @param position the position of the given slot 186 186 */ 187 void WeaponManager::setSlotPosition(int slot, const Vector& position )187 void WeaponManager::setSlotPosition(int slot, const Vector& position, PNode* parent) 188 188 { 189 189 if (slot < this->slotCount) 190 { 190 191 this->currentSlotConfig[slot].position.setRelCoor(position); 192 193 if (parent != NULL) 194 this->currentSlotConfig[slot].position.setParent(parent); 195 } 191 196 } 192 197
Note: See TracChangeset
for help on using the changeset viewer.