mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 15:12:19 +00:00
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:
parent
4d7836b5ff
commit
01f6d7a75a
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue