diff options
Diffstat (limited to 'src/doom/st_lib.c')
-rw-r--r-- | src/doom/st_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doom/st_lib.c b/src/doom/st_lib.c index 9ba9cdcc..c7e87951 100644 --- a/src/doom/st_lib.c +++ b/src/doom/st_lib.c @@ -123,7 +123,7 @@ STlib_drawNum if (n->y - ST_Y < 0) I_Error("drawNum: n->y - ST_Y < 0"); - V_CopyRect(x, n->y - ST_Y, screens[BG], w*numdigits, h, x, n->y); + V_CopyRect(x, n->y - ST_Y, st_backing_screen, w*numdigits, h, x, n->y); // if non-number, do not draw it if (num == 1994) @@ -233,7 +233,7 @@ STlib_updateMultIcon if (y - ST_Y < 0) I_Error("updateMultIcon: y - ST_Y < 0"); - V_CopyRect(x, y-ST_Y, screens[BG], w, h, x, y); + V_CopyRect(x, y-ST_Y, st_backing_screen, w, h, x, y); } V_DrawPatch(mi->x, mi->y, mi->p[*mi->inum]); mi->oldinum = *mi->inum; @@ -285,7 +285,7 @@ STlib_updateBinIcon if (*bi->val) V_DrawPatch(bi->x, bi->y, bi->p); else - V_CopyRect(x, y-ST_Y, screens[BG], w, h, x, y); + V_CopyRect(x, y-ST_Y, st_backing_screen, w, h, x, y); bi->oldval = *bi->val; } |