Browse Source

Fix shortcuts not working sometimes

Ivan Savenko 2 năm trước cách đây
mục cha
commit
c0f0c3cedd
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
 {
 }