From 6dd861a81560fe3723c27ad19b42221d5a23bee0 Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Wed, 30 Apr 2014 02:25:54 +0100 Subject: [PATCH] fix construct path bridge or tunnel button --- src/window_footpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window_footpath.c b/src/window_footpath.c index 6f3c5d3896..d62687af75 100644 --- a/src/window_footpath.c +++ b/src/window_footpath.c @@ -241,10 +241,10 @@ static void window_footpath_mouseup() RCT2_CALLPROC_X(0x006A7863, 0, 0, 0, 0, w, 0, 0); break; case WIDX_CONSTRUCT_ON_LAND: - RCT2_CALLPROC_X(0x006A8072, 0, 0, 0, 0, w, 0, 0); + RCT2_CALLPROC_X(0x006A8072, 0, 0, 0, widgetIndex, w, 0, 0); break; case WIDX_CONSTRUCT_BRIDGE_OR_TUNNEL: - RCT2_CALLPROC_X(0x006A80C5, 0, 0, 0, 0, w, 0, 0); + RCT2_CALLPROC_X(0x006A80C5, 0, 0, 0, widgetIndex, w, 0, 0); break; } }