Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 25, 2005, 2:16:23 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: doxygen-tags (and flush)

File:
1 edited

Legend:

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

    r4953 r4954  
    104104  bUp = bDown = bLeft = bRight = bAscend = bDescend = false;
    105105  bFire = false;
    106   this->bWeaponChange = false;
    107106  acceleration = 10.0;
    108107
     
    263262    {
    264263      this->weaponMan->fire();
    265     }
    266   if( this->bWeaponChange)
    267     {
    268       this->weaponMan->nextWeaponConf();
    269       this->bWeaponChange = false;
    270264    }
    271265}
     
    287281      this->bFire = event.bPressed;
    288282  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;
    290284  else if ( event.type == KeyMapper::PEV_PREVIOUS_WEAPON && event.bPressed)
    291285    this->weaponMan->previousWeaponConfig();
Note: See TracChangeset for help on using the changeset viewer.