Misc cleanup of RCT2_GLOBAL

This commit is contained in:
Ted John 2016-09-10 17:55:32 +01:00
parent 8950a03822
commit d2b3a08739
2 changed files with 1 additions and 6 deletions

View File

@ -14,7 +14,6 @@
*****************************************************************************/
#pragma endregion
#include "../addresses.h"
#include "../audio/audio.h"
#include "../cheats.h"
#include "../game.h"
@ -245,7 +244,7 @@ void window_map_open()
w->map.rotation = get_current_rotation();
window_map_init_map();
RCT2_GLOBAL(0x00F64F05, uint8) = 0;
gWindowSceneryRotation = 0;
window_map_center_on_view_point();
// Reset land tool size

View File

@ -637,14 +637,10 @@ static void window_ride_list_scrollpaint(rct_window *w, rct_drawpixelinfo *dpi,
}
break;
case INFORMATION_TYPE_RELIABILITY:
// edx = RCT2_GLOBAL(0x009ACFA4 + (ride->var_001 * 4), uint32);
set_format_arg(2, uint16, ride->reliability >> 8);
formatSecondary = STR_RELIABILITY_LABEL;
break;
case INFORMATION_TYPE_DOWN_TIME:
// edx = RCT2_GLOBAL(0x009ACFA4 + (ride->var_001 * 4), uint32);
set_format_arg(2, uint16, ride->downtime);
formatSecondary = STR_DOWN_TIME_LABEL;
break;