From: Ketmar Dark Date: Fri, 22 Apr 2016 12:42:03 +0000 (+0300) Subject: added hidden "goobers" console command to turn on cheats X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=e1948f2831130ee7d993fa8897aeaba83fb7f765 added hidden "goobers" console command to turn on cheats --- diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 8b9ef25..72503f2 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -892,6 +892,15 @@ begin 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);