- 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 committed by drfrag
parent d14a48f8f4
commit 8ff421104d

View file

@ -795,7 +795,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;
@ -878,7 +880,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");
}
}
}