Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9367


Ignore:
Timestamp:
Sep 4, 2012, 9:39:04 AM (12 years ago)
Author:
jo
Message:

Disabling free aiming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/release2012/src/orxonox/controllers/NewHumanController.cc

    r9348 r9367  
    5151namespace orxonox
    5252{
    53     SetConsoleCommand("NewHumanController", "changeMode", &NewHumanController::changeMode).keybindMode(KeybindMode::OnPress);
     53    SetConsoleCommand("NewHumanController", "changeMode", &NewHumanController::changeMode).keybindMode(KeybindMode::OnPress); //disabling free aiming
    5454    SetConsoleCommand("NewHumanController", "accelerate", &NewHumanController::accelerate).keybindMode(KeybindMode::OnPress);
    5555    SetConsoleCommand("NewHumanController", "decelerate", &NewHumanController::decelerate).keybindMode(KeybindMode::OnPress);
     
    482482    void NewHumanController::changeMode()
    483483    {
    484         if (NewHumanController::localController_s)
     484        /*if (NewHumanController::localController_s)
    485485        {
    486486            if (NewHumanController::localController_s->controlMode_ == 0)
     
    491491            else
    492492                NewHumanController::localController_s->controlMode_ = 0;
    493         }
     493        }*/ //BRUTE FORCE: Turn off free aiming
    494494    }
    495495
Note: See TracChangeset for help on using the changeset viewer.