Changeset 4954 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Jul 25, 2005, 2:16:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4953 r4954 104 104 bUp = bDown = bLeft = bRight = bAscend = bDescend = false; 105 105 bFire = false; 106 this->bWeaponChange = false;107 106 acceleration = 10.0; 108 107 … … 263 262 { 264 263 this->weaponMan->fire(); 265 }266 if( this->bWeaponChange)267 {268 this->weaponMan->nextWeaponConf();269 this->bWeaponChange = false;270 264 } 271 265 } … … 287 281 this->bFire = event.bPressed; 288 282 else if( event.type == KeyMapper::PEV_NEXT_WEAPON && event.bPressed) 289 this->weaponMan->nextWeaponConf ();//if( !event.bPressed) this->bWeaponChange = !this->bWeaponChange;283 this->weaponMan->nextWeaponConfig();//if( !event.bPressed) this->bWeaponChange = !this->bWeaponChange; 290 284 else if ( event.type == KeyMapper::PEV_PREVIOUS_WEAPON && event.bPressed) 291 285 this->weaponMan->previousWeaponConfig();
Note: See TracChangeset
for help on using the changeset viewer.