瀏覽代碼

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)
 {
 }