Ver código fonte

Fix shortcuts not working sometimes

Ivan Savenko 2 anos atrás
pai
commit
c0f0c3cedd
1 arquivos alterados com 1 adições e 0 exclusões
  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)
 {
 }