Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2011, 1:09:42 PM (14 years ago)
Author:
landauf
Message:

disabled suicide for Spectator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/HumanController.cc

    r7862 r7863  
    4141{
    4242    extern const std::string __CC_fire_name = "fire";
     43    extern const std::string __CC_suicide_name = "suicide";
    4344
    4445    SetConsoleCommand("HumanController", "moveFrontBack",          &HumanController::moveFrontBack ).addShortcut().setAsInputCommand();
     
    5455    SetConsoleCommand("HumanController", "switchCamera",           &HumanController::switchCamera  ).addShortcut();
    5556    SetConsoleCommand("HumanController", "mouseLook",              &HumanController::mouseLook     ).addShortcut();
    56     SetConsoleCommand("HumanController", "suicide",                &HumanController::suicide       ).addShortcut();
     57    SetConsoleCommand("HumanController", __CC_suicide_name,        &HumanController::suicide       ).addShortcut();
    5758    SetConsoleCommand("HumanController", "toggleGodMode",          &HumanController::toggleGodMode ).addShortcut();
    5859    SetConsoleCommand("HumanController", "addBots",                &HumanController::addBots       ).addShortcut().defaultValues(1);
Note: See TracChangeset for help on using the changeset viewer.