wait, we are in lores regime

This commit is contained in:
Fabian Greffrath 2022-07-15 20:24:49 +02:00 committed by GitHub
parent 6f6921f5de
commit d08155d00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;