1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

clean up and remove various callprocs

This commit is contained in:
IntelOrca
2015-07-12 01:46:52 +01:00
parent c36e9d9cb8
commit 3ffffc699c
9 changed files with 38 additions and 70 deletions

View File

@@ -2587,9 +2587,7 @@ void screen_get_map_xy_with_z(sint16 screenX, sint16 screenY, sint16 z, sint16 *
*/
void screen_get_map_xy_quadrant(sint16 screenX, sint16 screenY, sint16 *mapX, sint16 *mapY, uint8 *quadrant)
{
rct_viewport *viewport;
screen_get_map_xy(screenX, screenY, mapX, mapY, &viewport);
screen_get_map_xy(screenX, screenY, mapX, mapY, NULL);
if (*mapX == (sint16)0x8000)
return;
@@ -2619,9 +2617,7 @@ void screen_get_map_xy_quadrant_with_z(sint16 screenX, sint16 screenY, sint16 z,
*/
void screen_get_map_xy_side(sint16 screenX, sint16 screenY, sint16 *mapX, sint16 *mapY, uint8 *side)
{
rct_viewport *viewport;
screen_get_map_xy(screenX, screenY, mapX, mapY, &viewport);
screen_get_map_xy(screenX, screenY, mapX, mapY, NULL);
if (*mapX == (sint16)0x8000)
return;