From d08155d00edf0ad2cd4fcacd6b1eb4100ac7f41f Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Fri, 15 Jul 2022 20:24:49 +0200 Subject: [PATCH] wait, we are in lores regime --- src/st_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index 062489fa..12ee5252 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -349,7 +349,7 @@ void ST_refreshBackground(boolean force) // [FG] calculate average color of the 16px left and right of the status bar const int vstep[][2] = {{0, 1}, {1, 2}, {2, ST_HEIGHT}}; const int hstep = hires ? (4 * SCREENWIDTH) : SCREENWIDTH; - const int w = MIN(SHORT(sbar->width), SCREENWIDTH << hires); + const int w = MIN(SHORT(sbar->width), SCREENWIDTH); const int depth = 16; byte *pal = W_CacheLumpName("PLAYPAL", PU_STATIC); int v;