Fix #1523. Water tool selection now the correct colour.

This commit is contained in:
duncanspumpkin committed 2015-11-05 18:02:21 +00:00
1 parent 4f68684e28
commit ce06ee8681
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -2007,8 +2007,8 @@ void top_toolbar_tool_update_water(sint16 x, sint16 y){
state_changed++;
}
if (RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_TYPE, uint16) != 4){
RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_TYPE, uint16) = 4;
if (RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_TYPE, uint16) != 5){
RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_TYPE, uint16) = 5;
state_changed++;
}
+1 -1
View File
@@ -393,7 +393,7 @@ void window_track_place_open()
show_gridlines();
_window_track_place_last_cost = MONEY32_UNDEFINED;
_window_track_place_last_x = 0xFFFF;
RCT2_GLOBAL(RCT2_ADDRESS_TRACK_PREVIEW_ROTATION, uint8) = (-get_current_rotation() + 2) & 3;
RCT2_GLOBAL(RCT2_ADDRESS_TRACK_PREVIEW_ROTATION, uint8) = (2 - get_current_rotation()) & 3;
window_track_place_draw_mini_preview();
}