summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b5356c)
raw | patch | inline | side by side (parent: 1b5356c)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sat, 12 Oct 2019 17:50:31 +0000 (20:50 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Sat, 12 Oct 2019 17:52:21 +0000 (20:52 +0300) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index ae66faad7854babd93cd1115ccfa83903def765a..317f0c419c362a9d9ee4fa90e246afc6e0a8f49b 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
NetState := NET_STATE_NONE;
Exit;
end;
+ e_LogWritefln('using downloaded map wad [%s] for [%s]`', [newResPath, WadName], TMsgType.Notify);
end;
newResPath := ExtractRelativePath(MapsDir, newResPath);
procedure g_Game_ClientWAD(NewWAD: String; const WHash: TMD5Digest);
var
- gWAD: String;
+ gWAD, xwad: String;
begin
if not g_Game_IsClient then Exit;
//e_LogWritefln('*** g_Game_ClientWAD: `%s`', [NewWAD]);
Exit;
end;
- NewWAD := ExtractRelativePath(MapsDir, gWAD);
+ xwad := ExtractRelativePath(MapsDir, gWAD);
+ e_LogWritefln('using downloaded client map wad [%s] for [%s]`', [xwad, NewWAD], TMsgType.Notify);
+ NewWAD := xwad;
g_Game_LoadWAD(NewWAD);
{