GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11f1db2
)
fixed cheat input
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Mon, 15 Apr 2019 14:36:13 +0000
(17:36 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Mon, 15 Apr 2019 14:36:13 +0000
(17:36 +0300)
src/game/g_main.pas
patch
|
blob
|
history
diff --git
a/src/game/g_main.pas
b/src/game/g_main.pas
index 23113e77f629fd2b426ddc783bc1c31f0b30a33f..df6bba16a9b77160b30f6af2a3be2c61e0f8eae7 100644
(file)
--- a/
src/game/g_main.pas
+++ b/
src/game/g_main.pas
@@
-599,17
+599,12
@@
var
Msg: g_gui.TMessage;
a: Integer;
begin
- if gSkipFirstChar then
- begin
- gSkipFirstChar := False;
- Exit
- end;
-
- if (not gChatShow) and ((C = '`') or (C = '~') or (C = '¸') or (C = '¨')) then Exit;
-
if gConsoleShow or gChatShow then
begin
- g_Console_Char(C);
+ if gSkipFirstChar then
+ gSkipFirstChar := False
+ else
+ g_Console_Char(C)
end
else if (g_ActiveWindow <> nil) then
begin
DEADSOFTWARE 2012-2025