mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- fixed crash when drawing status bar on automap
https://forum.zdoom.org/viewtopic.php?t=70480
This commit is contained in:
parent
ecf0701481
commit
18bf807ab3
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ void DBaseStatusBar::DoDrawAutomapHUD(int crdefault, int highlight)
|
|||
double x = 0, yy = 0, w = HorizontalResolution, h = 0;
|
||||
StatusbarToRealCoords(x, yy, w, h);
|
||||
|
||||
IFVIRTUAL(DBaseStatusBar, GetProtrusion)
|
||||
IFVIRTUAL(DStatusBarCore, GetProtrusion)
|
||||
{
|
||||
int prot = 0;
|
||||
VMValue params[] = { this, double(finalwidth * scale / w) };
|
||||
|
|
Loading…
Reference in a new issue