DEADSOFTWARE

fixed input locking after load game
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Thu, 9 May 2019 15:43:29 +0000 (18:43 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Thu, 9 May 2019 15:43:29 +0000 (18:43 +0300)
src/game/g_gui.pas

index 494839e01324c73d6281594ff0db2a9c60d54d49..07a03c19081dcbf21589dd8569ec03946c26b5c2 100644 (file)
@@ -2336,7 +2336,7 @@ begin
         end;
     end;
 
-  g_GUIGrabInput := FWindow.FActiveControl = Self;
+  g_GUIGrabInput := (@FOnEnterEvent = nil) and (FWindow.FActiveControl = Self);
   g_Touch_ShowKeyboard(g_GUIGrabInput)
 end;