mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-26 05:51:52 +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;
|
||||
delete[] realfbcolormaps.Maps;
|
||||
if (realfbcolormaps.Maps)
|
||||
{
|
||||
delete[] realfbcolormaps.Maps;
|
||||
realfbcolormaps.Maps = nullptr;
|
||||
}
|
||||
FreeSpecialLights();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue