diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index 5f26b864ba8d064a5df1dcde85f9f7efa8c1fc45..72503f28f5695686087b8d6f5f74bb6f654e172a 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
+{$MODE DELPHI}
unit g_console;
interface
uses
g_textures, g_main, e_graphics, e_input, g_game,
- SysUtils, g_basic, g_options, WADEDITOR, Math,
+ SysUtils, g_basic, g_options, wadreader, Math,
g_menu, g_language, g_net, g_netmsg, e_log;
type
Time := MsgTime;
end;
end;
-
+
{$IFDEF HEADLESS}
e_WriteLog('CON: ' + L, MSG_NOTIFY);
{$ENDIF}
if Trim(L) = '' then
Exit;
+ if L = 'goobers' then
+ begin
+ Line := '';
+ CPos := 1;
+ gCheats := true;
+ g_Console_Add('Your memory serves you well.');
+ exit;
+ end;
+
if not Quiet then
begin
g_Console_Add('> '+L);