1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

fix warnings in window_scenery.c

This commit is contained in:
IntelOrca
2014-09-06 01:06:31 +01:00
parent a70df144ed
commit b4c7723368

View File

@@ -619,13 +619,13 @@ static void window_scenery_dropdown() {
return;
if (widgetIndex == WIDX_SCENERY_PRIMARY_COLOUR_BUTTON) {
RCT2_GLOBAL(0x00F64F06, uint8) = dropdownIndex;
RCT2_GLOBAL(0x00F64F06, uint8) = (uint8)dropdownIndex;
}
else if (widgetIndex == WIDX_SCENERY_SECONDARY_COLOUR_BUTTON) {
RCT2_GLOBAL(0x00F64F07, uint8) = dropdownIndex;
RCT2_GLOBAL(0x00F64F07, uint8) = (uint8)dropdownIndex;
}
else if (widgetIndex == WIDX_SCENERY_TERTIARY_COLOUR_BUTTON) {
RCT2_GLOBAL(0x00F64F08, uint8) = dropdownIndex;
RCT2_GLOBAL(0x00F64F08, uint8) = (uint8)dropdownIndex;
}
window_invalidate(w);