Explorar o código

Fix shortcuts not working sometimes

Ivan Savenko %!s(int64=2) %!d(string=hai) anos
pai
achega
c0f0c3cedd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
 {
 }