diff --git a/mk/shared/glestkeys.ini b/mk/shared/glestkeys.ini index 28a21e9d..3c5954be 100644 --- a/mk/shared/glestkeys.ini +++ b/mk/shared/glestkeys.ini @@ -30,16 +30,16 @@ CameraRotateLeft=O CameraRotateRight=P CameraRotateUp=S CameraRotateDown=W -HotKeyBuild1=Q -HotKeyBuild2=W -HotKeyBuild3=E -HotKeyBuild4=R -HotKeyBuild5=A -HotKeyBuild6=S -HotKeyBuild7=D -HotKeyBuild8=F -HotKeyBuild9=Z -HotKeyBuild10=X +CommandKey1=Q +CommandKey2=W +CommandKey3=E +CommandKey4=R +CommandKey5=A +CommandKey6=S +CommandKey7=D +CommandKey8=F +CommandKey9=Z +CommandKey10=X HotKeyCenterCameraOnSelection=G HotKeySelectIdleHarvesterUnit=I HotKeySelectBuiltBuilding=B diff --git a/source/glest_game/gui/gui.cpp b/source/glest_game/gui/gui.cpp index 65a1e3c8..eb48650b 100644 --- a/source/glest_game/gui/gui.cpp +++ b/source/glest_game/gui/gui.cpp @@ -450,7 +450,7 @@ void Gui::hotKey(SDL_KeyboardEvent key) { } for (int i=0; i<10; i++) { - string name = "HotKeyBuild" + intToStr(i+1); + string name = "CommandKey" + intToStr(i+1); if(isKeyPressed(configKeys.getSDLKey(name.c_str()),key) == true) { if(activeCommandType != NULL && activeCommandType->getClass() == ccBuild) { mouseDownDisplayUnitBuild(i);