Correctly NULL thumbnailPic and minimapPic when map lumpnum changes
Fixes the core part of Chengi's graphical issue
This commit is contained in:
parent
cbac99fb90
commit
f3c9fb9c82
1 changed files with 2 additions and 0 deletions
|
|
@ -9347,11 +9347,13 @@ UINT8 P_InitMapData(boolean existingmapheaders)
|
|||
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…
Reference in a new issue