1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Use ScreenCoordsXY for MouseInput (#10120)

This commit is contained in:
Tulio Leao
2019-10-20 14:10:30 -03:00
committed by Michael Steenbeek
parent f79667d842
commit 5f916b79ae
6 changed files with 145 additions and 138 deletions

View File

@@ -105,7 +105,7 @@ static void game_handle_key_scroll()
{
window_unfollow_sprite(mainWindow);
}
input_scroll_viewport(scrollCoords.x, scrollCoords.y);
input_scroll_viewport(scrollCoords);
}
static int32_t input_scancode_to_rct_keycode(int32_t sdl_key)