- fixed 'overriding core lump' error

Wrong container was reported for overriding lump
This commit is contained in:
alexey.lysiuk 2019-01-20 15:58:57 +02:00 committed by Christoph Oelckers
parent 12db808307
commit 0dbd591812

View file

@ -425,7 +425,7 @@ static void DoParse(int lumpnum)
if (fileno == 0 && fileno2 != 0)
{
I_FatalError("File %s is overriding core lump %s.",
Wads.GetWadFullName(Wads.GetLumpFile(baselump)), Includes[i].GetChars());
Wads.GetWadFullName(Wads.GetLumpFile(lumpnum)), Includes[i].GetChars());
}
ParseSingleFile(nullptr, nullptr, lumpnum, parser, state);