DEADSOFTWARE

goto cheat fix
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Sun, 24 Dec 2017 11:04:33 +0000 (13:04 +0200)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Sun, 24 Dec 2017 11:18:38 +0000 (13:18 +0200)
src/game/g_main.pas

index 2758377eb4ad627d15e5f646705b5b740724bd1e..12f33c6940fd05a7bff33ced7fb4bc58aff1d8d7 100644 (file)
@@ -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;