From 8d3f7600fbd3e3332462c1884e0909977e9d71b8 Mon Sep 17 00:00:00 2001 From: nightroan Date: Sat, 26 Sep 2015 15:59:12 -0700 Subject: [PATCH] As a multiplayer client, don't select the next track piece if is is unaffordable. --- src/windows/ride_construction.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/ride_construction.c b/src/windows/ride_construction.c index a175f38231..d119924836 100644 --- a/src/windows/ride_construction.c +++ b/src/windows/ride_construction.c @@ -1583,6 +1583,8 @@ static void window_ride_construction_construct(rct_window *w) 0 ); if (RCT2_GLOBAL(0x00F44074, money32) == MONEY32_UNDEFINED) { + if (network_get_mode() == NETWORK_MODE_CLIENT) + game_command_callback = 0; // don't do callback if we can't afford the track piece sub_6C84CE(); return; }