From 54c94f6e58841717424cbe655cc2e7924be9a685 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 28 Oct 2016 02:41:14 +0200 Subject: [PATCH] Fix pinkie having the blues --- src/r_drawt_rgba.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/r_drawt_rgba.cpp b/src/r_drawt_rgba.cpp index a3849b9af9..0a213418bd 100644 --- a/src/r_drawt_rgba.cpp +++ b/src/r_drawt_rgba.cpp @@ -258,14 +258,14 @@ class FillColumnHorizRGBACommand : public DrawerCommand int _yl; int _yh; int _count; - int _color; + uint32_t _color; public: FillColumnHorizRGBACommand() { _x = dc_x; _count = dc_count; - _color = dc_color; + _color = GPalette.BaseColors[dc_color].d | (uint32_t)0xff000000; _yl = dc_yl; _yh = dc_yh; } @@ -273,7 +273,7 @@ public: void Execute(DrawerThread *thread) override { int count = _count; - int color = _color; + uint32_t color = _color; uint32_t *dest; if (count <= 0)