mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Bug fix: pressed buttons not the right colour
This commit is contained in:
@@ -533,15 +533,14 @@ void gfx_fill_rect_inset(rct_drawpixelinfo* dpi, short left, short top, short ri
|
||||
if (_si & 0x04) {
|
||||
colour3 = RCT2_ADDRESS(0x0141FC49, uint8)[0];
|
||||
} else {
|
||||
colour3 = colour_ & 0xFF;
|
||||
colour3 = RCT2_ADDRESS(0x0141FC4A, uint8)[colour * 8];
|
||||
}
|
||||
colour3 = colour_ & 0xFF00;
|
||||
}
|
||||
gfx_fill_rect(dpi, left+1, top+1, right-1, bottom-1, colour3);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
gfx_fill_rect(dpi, left, top, right, bottom, colour);
|
||||
gfx_fill_rect(dpi, left, top, right, bottom, colour_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user