Skip to content

Commit 2b44f89

Browse files
committed
Update CIN code for recent color/alpha changes
1 parent 53123db commit 2b44f89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/cin.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static bool SCR_ReadNextFrame(void)
245245
return false;
246246

247247
for (i = 0, p = palette; i < 256; i++, p += 3)
248-
cin.palette[i] = MakeColor(p[0], p[1], p[2], 255);
248+
cin.palette[i] = COLOR_U32_RGBA(p[0], p[1], p[2], 255);
249249
}
250250

251251
// decompress the next frame
@@ -349,7 +349,7 @@ void SCR_DrawCinematic(void)
349349
if (cin.pic)
350350
R_DrawStretchRaw(x, y, w, h);
351351
else if (cin.static_pic)
352-
R_DrawStretchPic(x, y, w, h, cin.static_pic);
352+
R_DrawStretchPic(x, y, w, h, COLOR_WHITE, cin.static_pic);
353353
}
354354
}
355355

0 commit comments

Comments
 (0)