From ecdc76d697599634b354c597cd3396f6ffa84756 Mon Sep 17 00:00:00 2001 From: Timmy Weerwag Date: Sun, 22 Mar 2015 21:50:16 +0100 Subject: [PATCH] Replaced call with existing decompiled function --- src/windows/footpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/footpath.c b/src/windows/footpath.c index 15b3e08683..ceaa17f7c0 100644 --- a/src/windows/footpath.c +++ b/src/windows/footpath.c @@ -424,7 +424,7 @@ static void window_footpath_tooldrag() window_tool_get_registers(w, widgetIndex, x, y); if (widgetIndex == WIDX_CONSTRUCT_ON_LAND) { - RCT2_CALLPROC_X(0x006A82C5, x, y, 0, 0, (int)w, 0, 0); + window_footpath_place_path_at_point(x, y); } }