Skip to content

Commit abd23ab

Browse files
improve "IWAD not found" error message (#2119)
1 parent 7e39b8d commit abd23ab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/d_main.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,11 @@ void IdentifyVersion(void)
864864

865865
if (!iwadfile)
866866
{
867-
I_Error("IWAD not found");
867+
I_Error("IWAD not found!\n"
868+
"\n"
869+
"Place an IWAD file (e.g. doom.wad, doom2.wad)\n"
870+
"in one of the IWAD search directories, e.g.\n"
871+
"%s", D_DoomPrefDir());
868872
}
869873

870874
D_AddFile(iwadfile);

0 commit comments

Comments
 (0)