mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +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();
|
SpecialColormaps.Clear();
|
||||||
fakecmaps.Clear();
|
fakecmaps.Clear();
|
||||||
delete[] realcolormaps.Maps;
|
delete[] realcolormaps.Maps;
|
||||||
delete[] realfbcolormaps.Maps;
|
if (realfbcolormaps.Maps)
|
||||||
|
{
|
||||||
|
delete[] realfbcolormaps.Maps;
|
||||||
|
realfbcolormaps.Maps = nullptr;
|
||||||
|
}
|
||||||
FreeSpecialLights();
|
FreeSpecialLights();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue