Make sure filesystem depths are consistent between maplist.txt and hexen2's progs.dat. This should fix the base game failing on the first boss map.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6053 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-09-01 03:54:47 +00:00
parent 4d7836b5ff
commit 01f6d7a75a

View file

@ -1983,6 +1983,7 @@ void Q_InitProgs(enum initprogs_e flags)
//hexen2 - maplist contains a list of maps that we need to use an alternate progs.dat for.
d1 = COM_FDepthFile(addons, true);
d2 = COM_FDepthFile("maplist.txt", true);
if (d2 <= d1)//Use it if the maplist.txt file is within a more or equal important gamedir.
{