use RCT2_ADDRESS in track_manage.c

This commit is contained in:
Linus Unnebäck 2015-12-06 18:22:33 +01:00
parent 1d3cefe73d
commit bd82b7a297

View file

@ -185,7 +185,7 @@ static void window_track_manage_close(rct_window *w)
*/
static void window_track_manage_mouseup(rct_window *w, int widgetIndex)
{
uint8 *trackDesignList = (uint8*)0x00F441EC;
char *trackDesignList = RCT2_ADDRESS(RCT2_ADDRESS_TRACK_LIST, char);
rct_window *trackDesignListWindow;
char *dst, *src;
@ -309,4 +309,4 @@ static void window_track_delete_prompt_paint(rct_window *w, rct_drawpixelinfo *d
gfx_draw_string_centred_wrapped(
dpi, &stringId, w->x + 125, w->y + 28, 246, STR_ARE_YOU_SURE_YOU_WANT_TO_PERMANENTLY_DELETE_TRACK, 0
);
}
}