mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
always center st_bar (#1339)
This commit is contained in:
parent
f012f8f839
commit
8d2c454670
@ -376,14 +376,7 @@ void ST_refreshBackground(boolean force)
|
||||
return;
|
||||
}
|
||||
|
||||
if (SHORT(sbar->width) > video.unscaledw && SHORT(sbar->leftoffset) == 0)
|
||||
{
|
||||
st_x = ST_X + (SCREENWIDTH - SHORT(sbar->width)) / 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
st_x = ST_X;
|
||||
}
|
||||
st_x = ST_X + (SCREENWIDTH - SHORT(sbar->width)) / 2 + SHORT(sbar->leftoffset);
|
||||
|
||||
V_UseBuffer(st_backing_screen);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user