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
|
|
@ -124,7 +124,7 @@ FScanner::FScanner(int lumpnum, TMap<FName, Symbol>* extsymbols) : symbols(extsy
|
|||
|
||||
void FScanner::Open (const char *name)
|
||||
{
|
||||
int lump = fileSystem.CheckNumForFullName(name, true);
|
||||
int lump = fileSystem.CheckNumForAnyName(name);
|
||||
if (lump == -1)
|
||||
{
|
||||
I_Error("Could not find script lump '%s'\n", name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue