Changeset 9367 for code/branches/release2012/src/orxonox/controllers
- Timestamp:
- Sep 4, 2012, 9:39:04 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/release2012/src/orxonox/controllers/NewHumanController.cc
r9348 r9367 51 51 namespace orxonox 52 52 { 53 SetConsoleCommand("NewHumanController", "changeMode", &NewHumanController::changeMode).keybindMode(KeybindMode::OnPress); 53 SetConsoleCommand("NewHumanController", "changeMode", &NewHumanController::changeMode).keybindMode(KeybindMode::OnPress); //disabling free aiming 54 54 SetConsoleCommand("NewHumanController", "accelerate", &NewHumanController::accelerate).keybindMode(KeybindMode::OnPress); 55 55 SetConsoleCommand("NewHumanController", "decelerate", &NewHumanController::decelerate).keybindMode(KeybindMode::OnPress); … … 482 482 void NewHumanController::changeMode() 483 483 { 484 if (NewHumanController::localController_s)484 /*if (NewHumanController::localController_s) 485 485 { 486 486 if (NewHumanController::localController_s->controlMode_ == 0) … … 491 491 else 492 492 NewHumanController::localController_s->controlMode_ = 0; 493 } 493 }*/ //BRUTE FORCE: Turn off free aiming 494 494 } 495 495
Note: See TracChangeset
for help on using the changeset viewer.