mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-26 20:32:07 -05:00
use RCT2_ADDRESS in track_manage.c
This commit is contained in:
parent
1d3cefe73d
commit
bd82b7a297
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ static void window_track_manage_close(rct_window *w)
|
||||||
*/
|
*/
|
||||||
static void window_track_manage_mouseup(rct_window *w, int widgetIndex)
|
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;
|
rct_window *trackDesignListWindow;
|
||||||
char *dst, *src;
|
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(
|
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
|
dpi, &stringId, w->x + 125, w->y + 28, 246, STR_ARE_YOU_SURE_YOU_WANT_TO_PERMANENTLY_DELETE_TRACK, 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue