mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-29 15:32:54 +00:00
- fixed: Crashing when using the "restart" ccmd
This commit is contained in:
parent
f178043b81
commit
9ee34254c8
1 changed files with 5 additions and 1 deletions
|
@ -457,7 +457,11 @@ void R_DeinitColormaps ()
|
|||
SpecialColormaps.Clear();
|
||||
fakecmaps.Clear();
|
||||
delete[] realcolormaps.Maps;
|
||||
if (realfbcolormaps.Maps)
|
||||
{
|
||||
delete[] realfbcolormaps.Maps;
|
||||
realfbcolormaps.Maps = nullptr;
|
||||
}
|
||||
FreeSpecialLights();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue