Idiotproof the can't find gfx.wad message in newtree too

This commit is contained in:
Joseph Carter 2001-06-10 12:54:06 +00:00
parent 4c9a189f90
commit 609feb779c

View file

@ -91,7 +91,17 @@ W_LoadWadFile (char *filename)
wad_base = COM_LoadHunkFile (filename);
if (!wad_base)
Sys_Error ("W_LoadWadFile: couldn't load %s", filename);
{
Sys_Printf (
"\n The following error is somewhat misleading. Most likely you don't\n"
" have a file by that name on your system because it's stored in a pak\n"
" file. The real problem is that it's not where we expect it to be.\n\n"
" Game data should be installed into fs_sharepath or fs_userpath, in a\n"
" subdirectory named %s.\n\n", fs_basegame->string);
Sys_Printf (" fs_sharepath is %s\n", fs_sharepath->string);
Sys_Printf (" fs_userpath is %s\n\n", fs_userpath->string);
Sys_Error ("W_LoadWadFile: unable to load %s\n\n", filename);
}
header = (wadinfo_t *) wad_base;