summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7b5840)
raw | patch | inline | side by side (parent: a7b5840)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 14 Aug 2019 19:54:28 +0000 (22:54 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 14 Aug 2019 19:54:28 +0000 (22:54 +0300) |
src/game/g_console.pas | patch | blob | history |
diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index 7d953860e9dc7ff6007611e9b3ac3121e0b3ec9e..033a46827d5a3312a6b062fa335d37446edc5038 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
begin
(* End open chat animation. Do not show console *)
Cons_Y := -Floor(gScreenHeight * ConsoleHeight);
- Cons_Shown := True;
+ Cons_Shown := False;
InputReady := True;
-// g_Touch_ShowKeyboard(True);
end
else
- if Cons_Y > 0 then
+ if Cons_Y >= 0 then
begin
(* End open animation *)
Cons_Y := 0;
+ Cons_Shown := True;
InputReady := True;
-// g_Touch_ShowKeyboard(True);
end
else
if Cons_Y <= -Floor(gScreenHeight * ConsoleHeight) then
Cons_Y := -Floor(gScreenHeight * ConsoleHeight);
Cons_Shown := False;
InputReady := False;
-// g_Touch_ShowKeyboard(False);
end;
end;