DEADSOFTWARE

engine: yet another attempt to fix map downloading (YAATFMD); "no time to loose!"
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Thu, 7 Nov 2019 20:32:07 +0000 (22:32 +0200)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Thu, 7 Nov 2019 20:33:27 +0000 (22:33 +0200)
src/game/g_game.pas

index 1e518ce8b4e2b0aed7d561d4d3c755e9abf13546..8366787a04365305daa80afd9c8d47e574458427 100644 (file)
@@ -5082,14 +5082,9 @@ begin
     Exit;
   end;
 
-(*
-  xwad := ExtractRelativePath(MapsDir, gWAD);
-  e_LogWritefln('using downloaded client map wad [%s] for [%s]`', [xwad, NewWAD], TMsgType.Notify);
-  NewWAD := xwad;
-  g_Game_LoadWAD(NewWAD);
-*)
+  e_LogWritefln('using downloaded client map wad [%s] for [%s]', [gWAD, NewWAD], TMsgType.Notify);
+  NewWAD := gWAD;
 
-  e_LogWritefln('using downloaded client map wad [%s]`', [NewWAD], TMsgType.Notify);
   g_Game_LoadWAD(NewWAD);
   result := NewWAD;