summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97d7d54)
raw | patch | inline | side by side (parent: 97d7d54)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 7 Feb 2023 15:35:46 +0000 (18:35 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 7 Feb 2023 15:35:46 +0000 (18:35 +0300) |
src/game/g_gui.pas | patch | blob | history |
diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas
index 415d7efebe416edef48d18c1868876c1c9885d72..b8b19999fb4728c9edcbe2b880d1373e98d455aa 100644 (file)
--- a/src/game/g_gui.pas
+++ b/src/game/g_gui.pas
uses
{$INCLUDE ../nogl/noGLuses.inc}
g_textures, g_sound, SysUtils, e_res,
- g_game, Math, StrUtils, g_player, g_options,
+ g_game, Math, StrUtils, g_player, g_options, g_console,
g_map, g_weapons, xdynrec, wadreader;
actDefCtl();
end;
else
- if e_KeyNames[wParam] <> '' then
+ if (e_KeyNames[wParam] <> '') and not g_Console_MatchBind(wParam, 'togglemenu') then
FKey := wParam;
FIsQuery := False;
actDefCtl();
actDefCtl();
end;
else
- if e_KeyNames[wParam] <> '' then
+ if (e_KeyNames[wParam] <> '') and not g_Console_MatchBind(wParam, 'togglemenu') then
begin
if (FKeyIdx = 0) then FKey0 := wParam else FKey1 := wParam;
end;