improve "IWAD not found" error message (#2119)

This commit is contained in:
Fabian Greffrath 2025-01-05 21:47:52 +01:00 committed by GitHub
parent 7e39b8d839
commit abd23ab741
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);