Changeset 5440 in orxonox.OLD for trunk/src/world_entities/player.cc
- Timestamp:
- Oct 27, 2005, 10:56:58 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/player.cc
r5435 r5440 136 136 137 137 this->weaponMan->setSlotPosition(0, Vector(-2.6, .1, -3.0)); 138 this->weaponMan->setSlotCapability(0, WTYPE_ALLDIRS & WTYPE_DIRECTIONAL); 138 139 139 140 this->weaponMan->setSlotPosition(1, Vector(-2.6, .1, 3.0)); 141 this->weaponMan->setSlotCapability(1, WTYPE_ALLDIRS & WTYPE_DIRECTIONAL); 140 142 141 143 this->weaponMan->setSlotPosition(2, Vector(-1.5, .5, -.5)); … … 329 331 330 332 // FIXME THIS MIGHT BE CONSIDERED EITHER A FEATURE, OR A BUG 331 int slot = 2;332 333 void Player::ADDWEAPON() 333 334 { … … 336 337 turret1->setStateDuration(WS_SHOOTING, (float)rand()/RAND_MAX*.5+.1); 337 338 338 this->weaponMan->addWeapon(turret1, 2 , slot++);339 this->weaponMan->addWeapon(turret1, 2); 339 340 340 341 this->weaponMan->changeWeaponConfig(2);
Note: See TracChangeset
for help on using the changeset viewer.