Rename HotKeyBuildN to CommandKeyN
This commit is contained in:
parent
1922522009
commit
3313f187bb
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue