Fixed bug in gfx_fill_rect

As expected _left was incorrect.
This commit is contained in:
Duncan 2014-06-17 12:20:34 +01:00
parent f0fb16d1b2
commit aaaf06e94d
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ void gfx_fill_rect(rct_drawpixelinfo *dpi, int left, int top, int right, int bot
for (int no_pixels = right_; no_pixels >=0; --no_pixels) {
if (!(pattern & (1 << pattern_x)))
*dest_pointer = (char*)(left_ & 0xFF); //left seems odd here
*dest_pointer = colour & 0xFF;
pattern_x = (pattern_x + 1) % 15;
dest_pointer++;