take namespace enum out of namespace and added CheckNumForAnyName and CheckNumForFullNameInFile to clarify the meaning of CheckNumForFullName.
This is to take some renaming noise out of the upcoming refactoring.
This commit is contained in:
parent
ba2800d698
commit
634a646c2d
51 changed files with 118 additions and 122 deletions
|
|
@ -1050,7 +1050,7 @@ void ParseModelDefLump(int Lump)
|
|||
{
|
||||
sc.MustGetString();
|
||||
// This is not using sc.Open because it can print a more useful error message when done here
|
||||
int includelump = fileSystem.CheckNumForFullName(sc.String, true);
|
||||
int includelump = fileSystem.CheckNumForAnyName(sc.String);
|
||||
if (includelump == -1)
|
||||
{
|
||||
if (strcmp(sc.String, "sentinel.modl") != 0) // Gene Tech mod has a broken #include statement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue