mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-14 15:11:40 +00:00
Correctly NULL thumbnailPic and minimapPic when map lumpnum changes
Fixes the core part of Chengi's graphical issue
This commit is contained in:
parent
e5365339da
commit
b686137d12
1 changed files with 2 additions and 0 deletions
|
|
@ -4506,11 +4506,13 @@ UINT8 P_InitMapData(INT32 numexistingmapheaders)
|
|||
if (mapheaderinfo[i]->thumbnailPic)
|
||||
{
|
||||
Patch_Free(mapheaderinfo[i]->thumbnailPic);
|
||||
mapheaderinfo[i]->thumbnailPic = NULL;
|
||||
}
|
||||
|
||||
if (mapheaderinfo[i]->minimapPic)
|
||||
{
|
||||
Patch_Free(mapheaderinfo[i]->minimapPic);
|
||||
mapheaderinfo[i]->minimapPic = NULL;
|
||||
}
|
||||
|
||||
// Now apply the new ones!
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue