1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

As a multiplayer client, don't select the next track piece if is is unaffordable.

This commit is contained in:
nightroan
2015-09-26 15:59:12 -07:00
parent a04663368e
commit 8d3f7600fb

View File

@@ -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;
}