Skip to content

Commit

Permalink
improve "IWAD not found" error message (#2119)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiangreffrath authored Jan 5, 2025
1 parent 7e39b8d commit abd23ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,11 @@ void IdentifyVersion(void)

if (!iwadfile)
{
I_Error("IWAD not found");
I_Error("IWAD not found!\n"
"\n"
"Place an IWAD file (e.g. doom.wad, doom2.wad)\n"
"in one of the IWAD search directories, e.g.\n"
"%s", D_DoomPrefDir());
}

D_AddFile(iwadfile);
Expand Down

0 comments on commit abd23ab

Please sign in to comment.