Changeset 7862 for code/trunk/src/orxonox/controllers
- Timestamp:
- Feb 12, 2011, 11:57:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/HumanController.cc
r7533 r7862 40 40 namespace orxonox 41 41 { 42 extern const std::string __CC_fire_name = "fire"; 43 42 44 SetConsoleCommand("HumanController", "moveFrontBack", &HumanController::moveFrontBack ).addShortcut().setAsInputCommand(); 43 45 SetConsoleCommand("HumanController", "moveRightLeft", &HumanController::moveRightLeft ).addShortcut().setAsInputCommand(); … … 46 48 SetConsoleCommand("HumanController", "rotatePitch", &HumanController::rotatePitch ).addShortcut().setAsInputCommand(); 47 49 SetConsoleCommand("HumanController", "rotateRoll", &HumanController::rotateRoll ).addShortcut().setAsInputCommand(); 48 SetConsoleCommand("HumanController", "fire",&HumanController::fire ).addShortcut().keybindMode(KeybindMode::OnHold);50 SetConsoleCommand("HumanController", __CC_fire_name, &HumanController::fire ).addShortcut().keybindMode(KeybindMode::OnHold); 49 51 SetConsoleCommand("HumanController", "reload", &HumanController::reload ).addShortcut(); 50 52 SetConsoleCommand("HumanController", "boost", &HumanController::boost ).addShortcut().keybindMode(KeybindMode::OnHold);
Note: See TracChangeset
for help on using the changeset viewer.