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
|
|
@ -517,7 +517,7 @@ bool DInterBackground::LoadBackground(bool isenterpic)
|
|||
{
|
||||
try
|
||||
{
|
||||
int lumpnum = fileSystem.CheckNumForFullName(lumpname, true);
|
||||
int lumpnum = fileSystem.CheckNumForAnyName(lumpname);
|
||||
if (lumpnum == -1)
|
||||
{
|
||||
I_Error("Intermission animation lump %s not found!", lumpname);
|
||||
|
|
@ -757,7 +757,7 @@ bool DInterBackground::LoadBackground(bool isenterpic)
|
|||
}
|
||||
else
|
||||
{
|
||||
int lumpnum = fileSystem.CheckNumForFullName(lumpname + 1, true);
|
||||
int lumpnum = fileSystem.CheckNumForAnyName(lumpname + 1);
|
||||
if (lumpnum >= 0)
|
||||
{
|
||||
FScanner sc(lumpnum);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue