add hotkey value for "move"

This is needed now that
2c4fc340de
has been implemented
This commit is contained in:
andy5995
2018-01-28 03:36:31 -06:00
parent 827c4c267d
commit bf5a04be18
2 changed files with 8 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
; === propertyMap File ===
; === propertyMap File ===
RenderInGamePerformance=`
RenderNetworkStatus=N
ShowFullConsole=M
ShowFullConsole=Z
Screenshot=E
FreeCameraMode=F
ResetCameraMode=space
@@ -39,6 +39,7 @@ HotKeyRotateUnitDuringPlacement=R
HotKeySelectDamagedUnit=D
HotKeySelectStoreUnit=T
HotKeySelectedUnitsAttack=A
HotKeySelectedUnitsMove=M
HotKeySelectedUnitsStop=S
HotKeyToggleOSMouseEnabled=/
ChatTeamMode=H
@@ -53,5 +54,5 @@ SaveGame=f11
BookmarkAdd=f2
BookmarkRemove=f3
CameraFollowSelectedUnit=f4
; === propertyMap File ===
; === propertyMap File ===

View File

@@ -432,6 +432,10 @@ void Gui::hotKey(SDL_KeyboardEvent key) {
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsAttack"),key) == true) {
clickCommonCommand(ccAttack);
}
//else if(key == configKeys.getCharKey("HotKeySelectedUnitsAttack")) {
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsMove"),key) == true) {
clickCommonCommand(ccMove);
}
//else if(key == configKeys.getCharKey("HotKeySelectedUnitsStop")) {
else if(isKeyPressed(configKeys.getSDLKey("HotKeySelectedUnitsStop"),key) == true) {
clickCommonCommand(ccStop);