Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5441 in orxonox.OLD for trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Oct 27, 2005, 11:46:46 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: Weapons update, Now one can really assign SlotCapabilities and they are used and checked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/player.cc

    r5440 r5441  
    136136
    137137  this->weaponMan->setSlotPosition(0, Vector(-2.6, .1, -3.0));
    138   this->weaponMan->setSlotCapability(0, WTYPE_ALLDIRS & WTYPE_DIRECTIONAL);
     138  this->weaponMan->setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    139139
    140140  this->weaponMan->setSlotPosition(1, Vector(-2.6, .1, 3.0));
    141   this->weaponMan->setSlotCapability(1, WTYPE_ALLDIRS & WTYPE_DIRECTIONAL);
     141  this->weaponMan->setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    142142
    143143  this->weaponMan->setSlotPosition(2, Vector(-1.5, .5, -.5));
Note: See TracChangeset for help on using the changeset viewer.