From 0dbd591812086c7783b2710682a2dbd05802705b Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 20 Jan 2019 15:58:57 +0200 Subject: [PATCH] - fixed 'overriding core lump' error Wrong container was reported for overriding lump --- src/scripting/zscript/zcc_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/zscript/zcc_parser.cpp b/src/scripting/zscript/zcc_parser.cpp index fde8e1f3f..df1c993d5 100644 --- a/src/scripting/zscript/zcc_parser.cpp +++ b/src/scripting/zscript/zcc_parser.cpp @@ -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);