Changeset 7863 for code/trunk/src/orxonox/controllers
- Timestamp:
- Feb 12, 2011, 1:09:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/HumanController.cc
r7862 r7863 41 41 { 42 42 extern const std::string __CC_fire_name = "fire"; 43 extern const std::string __CC_suicide_name = "suicide"; 43 44 44 45 SetConsoleCommand("HumanController", "moveFrontBack", &HumanController::moveFrontBack ).addShortcut().setAsInputCommand(); … … 54 55 SetConsoleCommand("HumanController", "switchCamera", &HumanController::switchCamera ).addShortcut(); 55 56 SetConsoleCommand("HumanController", "mouseLook", &HumanController::mouseLook ).addShortcut(); 56 SetConsoleCommand("HumanController", "suicide",&HumanController::suicide ).addShortcut();57 SetConsoleCommand("HumanController", __CC_suicide_name, &HumanController::suicide ).addShortcut(); 57 58 SetConsoleCommand("HumanController", "toggleGodMode", &HumanController::toggleGodMode ).addShortcut(); 58 59 SetConsoleCommand("HumanController", "addBots", &HumanController::addBots ).addShortcut().defaultValues(1);
Note: See TracChangeset
for help on using the changeset viewer.