- fixed: The lump renaming was not performed for Doom, even for those pieces where needed.

This commit is contained in:
Christoph Oelckers 2019-03-01 20:21:15 +01:00
parent d84930e30b
commit a5d9d334d2
1 changed files with 5 additions and 2 deletions

View File

@ -810,7 +810,9 @@ void FWadCollection::RenameSprites ()
case GAME_Doom:
default:
// Doom's sprites don't get renamed.
return;
renames = nullptr;
numrenames = 0;
break;
case GAME_Heretic:
renames = HereticRenames;
@ -893,7 +895,8 @@ void FWadCollection::RenameSprites ()
else if (LumpInfo[i].lump->Namespace == ns_global)
{
// Rename the game specific big font lumps so that the font manager does not have to do problematic special checks for them.
if (!strcmp(LumpInfo[i].lump->Name, altbigfont)) strcpy(LumpInfo[i].lump->Name, "BIGFONT");
if (!strcmp(LumpInfo[i].lump->Name, altbigfont))
strcpy(LumpInfo[i].lump->Name, "BIGFONT");
}
}
}