소스 검색

Fix shortcuts not working sometimes

Ivan Savenko 2 년 전
부모
커밋
c0f0c3cedd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      client/gui/CIntObject.cpp

+ 1 - 0
client/gui/CIntObject.cpp

@@ -305,6 +305,7 @@ CKeyShortcut::CKeyShortcut()
 
 CKeyShortcut::CKeyShortcut(EShortcut key)
 	: assignedKey(key)
+	, shortcutPressed(false)
 {
 }