From b62bb1db6dd1e193a76ccc4dbab051969ebbcff4 Mon Sep 17 00:00:00 2001 From: Richard Jenkins Date: Fri, 2 Jun 2017 01:44:06 +0100 Subject: [PATCH] Name sub_6ED990() --- src/openrct2/input.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openrct2/input.c b/src/openrct2/input.c index ac1e087300..e48a7b4d74 100644 --- a/src/openrct2/input.c +++ b/src/openrct2/input.c @@ -96,7 +96,7 @@ void game_handle_edge_scroll(); void game_handle_key_scroll(); static void input_widget_left(sint32 x, sint32 y, rct_window *w, rct_widgetindex widgetIndex); void input_state_widget_pressed(sint32 x, sint32 y, sint32 state, rct_widgetindex widgetIndex, rct_window* w, rct_widget* widget); -void sub_6ED990(uint8 cursor_id); +void set_cursor(uint8 cursor_id); static void input_window_position_continue(rct_window *w, sint32 lastX, sint32 lastY, sint32 newX, sint32 newY); static void input_window_position_end(rct_window *w, sint32 x, sint32 y); static void input_window_resize_begin(rct_window *w, rct_widgetindex widgetIndex, sint32 x, sint32 y); @@ -1060,7 +1060,7 @@ void process_mouse_over(sint32 x, sint32 y) case WWT_VIEWPORT: if (!(_inputFlags & INPUT_FLAG_TOOL_ACTIVE)) { if (viewport_interaction_left_over(x, y)) { - sub_6ED990(CURSOR_HAND_POINT); + set_cursor(CURSOR_HAND_POINT); return; } break; @@ -1080,7 +1080,7 @@ void process_mouse_over(sint32 x, sint32 y) cursorId = edi; if ((ebx & 0xFF) != 0) { - sub_6ED990(cursorId); + set_cursor(cursorId); return; } break; @@ -1129,7 +1129,7 @@ void process_mouse_over(sint32 x, sint32 y) } viewport_interaction_right_over(x, y); - sub_6ED990(cursorId); + set_cursor(cursorId); } /** @@ -1562,7 +1562,7 @@ sint32 get_next_key() * * rct2: 0x006ED990 */ -void sub_6ED990(uint8 cursor_id) +void set_cursor(uint8 cursor_id) { if (_inputState == INPUT_STATE_RESIZING) { cursor_id = CURSOR_DIAGONAL_ARROWS;