diff options
author | rubidium <rubidium@openttd.org> | 2013-11-12 21:48:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-11-12 21:48:55 +0000 |
commit | 116adbc0e1e6cafd1b7fc2d5a85ef76a6dbd6e58 (patch) | |
tree | 7555d9e2661be89a597b892ea77ab08bf41fd882 /src/rail_cmd.cpp | |
parent | 5edda0149a96d1b6e475dac66e8434a539959f91 (diff) | |
download | openttd-116adbc0e1e6cafd1b7fc2d5a85ef76a6dbd6e58.tar.xz |
(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88)
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index e03889cf9..1b2d64d7f 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -843,8 +843,6 @@ static CommandCost CmdRailTrackHelper(TileIndex tile, DoCommandFlag flags, uint3 CommandCost ret = ValidateAutoDrag(&trackdir, tile, end_tile); if (ret.Failed()) return ret; - if ((flags & DC_EXEC) && _settings_client.sound.confirm) SndPlayTileFx(SND_20_SPLAT_2, tile); - bool had_success = false; CommandCost last_error = CMD_ERROR; for (;;) { |