summaryrefslogtreecommitdiff
path: root/src/doom/st_stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom/st_stuff.c')
-rw-r--r--src/doom/st_stuff.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/doom/st_stuff.c b/src/doom/st_stuff.c
index 21e7e206..97968f2a 100644
--- a/src/doom/st_stuff.c
+++ b/src/doom/st_stuff.c
@@ -433,10 +433,14 @@ void ST_refreshBackground(void)
if (st_statusbaron)
{
- V_DrawPatch(ST_X, 0, BG, sbar);
+ V_UseBuffer(screens[BG]);
+
+ V_DrawPatch(ST_X, 0, sbar);
if (netgame)
- V_DrawPatch(ST_FX, 0, BG, faceback);
+ V_DrawPatch(ST_FX, 0, faceback);
+
+ V_RestoreBuffer();
V_CopyRect(ST_X, 0, screens[BG], ST_WIDTH, ST_HEIGHT, ST_X, ST_Y);
}