diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index e371e0b3efe1bb221b8f7750ac35db1f637ca82d..6564a23464337389d03aa98db59c0c0ee65623c8 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
if found then
begin
// no such map, found wad
+ pw := P[1];
SetLength(P, 3);
P[1] := ExpandFileName(pw);
P[2] := g_Game_GetFirstMap(P[1]);