From: Ketmar Dark Date: Thu, 7 Nov 2019 20:32:07 +0000 (+0200) Subject: engine: yet another attempt to fix map downloading (YAATFMD); "no time to loose!" X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=36689adbefc512dc228ccdc28b615246e1b24609;p=d2df-sdl.git engine: yet another attempt to fix map downloading (YAATFMD); "no time to loose!" --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 1e518ce..8366787 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -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;