mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 09:31:14 +00:00
- fixed: The lump renaming was not performed for Doom, even for those pieces where needed.
This commit is contained in:
parent
d14a48f8f4
commit
8ff421104d
1 changed files with 5 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue