From: Ketmar Dark Date: Sun, 24 Dec 2017 11:04:33 +0000 (+0200) Subject: goto cheat fix X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=2854224481f868ac663902999a731209c58c7ebe;p=d2df-sdl.git goto cheat fix --- diff --git a/src/game/g_main.pas b/src/game/g_main.pas index 2758377..12f33c6 100644 --- a/src/game/g_main.pas +++ b/src/game/g_main.pas @@ -374,9 +374,7 @@ begin begin if g_Map_Exist(MapsDir+gGameSettings.WAD+':\MAP'+s2) then begin - c := 'MAP00'; - c[3] := s2[1]; - c[4] := s2[2]; + c := 'MAP'+s2; g_Game_ExitLevel(c); end; goto Cheated;