mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +00:00
- fixed lifetime of ScaleOverrider for Strife dialogues.
This commit is contained in:
parent
a1acc4adc4
commit
561ce41723
1 changed files with 1 additions and 0 deletions
|
@ -374,6 +374,7 @@ void M_StartControlPanel (bool makeSound, bool scaleoverride)
|
|||
BackbuttonTime = 0;
|
||||
BackbuttonAlpha = 0;
|
||||
if (scaleoverride && !CurrentScaleOverrider) CurrentScaleOverrider = new ScaleOverrider;
|
||||
else if (!scaleoverride && CurrentScaleOverrider) delete CurrentScaleOverrider;
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue