Sfoglia il codice sorgente

Fix shortcuts not working sometimes

Ivan Savenko 2 anni fa
parent
commit
c0f0c3cedd
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)
 {
 }