mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- handle mirroring in MNTR sprite renaming
https://forum.zdoom.org/viewtopic.php?t=66583
This commit is contained in:
parent
e4587138bb
commit
372733da8c
1 changed files with 5 additions and 2 deletions
|
@ -885,9 +885,12 @@ void FWadCollection::RenameSprites (const TArray<FString> &deletelumps)
|
|||
{
|
||||
if (LumpInfo[i].lump->dwName == MAKE_ID('M', 'N', 'T', 'R'))
|
||||
{
|
||||
if (LumpInfo[i].lump->Name[4] >= 'F' && LumpInfo[i].lump->Name[4] <= 'K')
|
||||
for (size_t fi : {4, 6})
|
||||
{
|
||||
LumpInfo[i].lump->Name[4] += 'U' - 'F';
|
||||
if (LumpInfo[i].lump->Name[fi] >= 'F' && LumpInfo[i].lump->Name[fi] <= 'K')
|
||||
{
|
||||
LumpInfo[i].lump->Name[fi] += 'U' - 'F';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue