diff options
| author | oy <Tom_Adams@web.de> | 2012-01-08 00:20:02 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2012-01-08 00:20:02 +0100 |
| commit | 535324d6ed365d32c14e46f6a9f058edf99c4fd0 (patch) | |
| tree | 66f61dbd315e5b9ec813ce284448007000f8b51f /src/game | |
| parent | d7089ea76aa1e3966f0b11de91ed5dae43ecf4ac (diff) | |
| download | zcatch-535324d6ed365d32c14e46f6a9f058edf99c4fd0.tar.gz zcatch-535324d6ed365d32c14e46f6a9f058edf99c4fd0.zip | |
added an entry for the kill command to the controls menu. Closes #652
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/components/menus_settings.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index de4b10bd..c7a76cea 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -446,13 +446,14 @@ static CKeyInfo gs_aKeys[] = { "Remote console", "toggle_remote_console", 0 }, { "Screenshot", "screenshot", 0 }, { "Scoreboard", "+scoreboard", 0 }, + { "Respawn", "kill", 0 }, }; /* This is for scripts/update_localization.py to work, don't remove! Localize("Move left");Localize("Move right");Localize("Jump");Localize("Fire");Localize("Hook");Localize("Hammer"); Localize("Pistol");Localize("Shotgun");Localize("Grenade");Localize("Rifle");Localize("Next weapon");Localize("Prev. weapon"); Localize("Vote yes");Localize("Vote no");Localize("Chat");Localize("Team chat");Localize("Show chat");Localize("Emoticon"); - Localize("Spectator mode");Localize("Spectate next");Localize("Spectate previous");Localize("Console");Localize("Remote console");Localize("Screenshot");Localize("Scoreboard"); + Localize("Spectator mode");Localize("Spectate next");Localize("Spectate previous");Localize("Console");Localize("Remote console");Localize("Screenshot");Localize("Scoreboard");Localize("Respawn"); */ const int g_KeyCount = sizeof(gs_aKeys) / sizeof(CKeyInfo); @@ -592,7 +593,7 @@ void CMenus::RenderSettingsControls(CUIRect MainView) TextRender()->Text(0, MiscSettings.x, MiscSettings.y, 14.0f*UI()->Scale(), Localize("Miscellaneous"), -1); MiscSettings.HSplitTop(14.0f+5.0f+10.0f, 0, &MiscSettings); - UiDoGetButtons(17, 25, MiscSettings); + UiDoGetButtons(17, 26, MiscSettings); } } |