(svn r25972) -Fix [FS#5665]: rail laying sounds of others could be heard in multiplayer (adf88)

This commit is contained in:
rubidium
2013-11-12 21:48:55 +00:00
parent aaf122da93
commit 34ae6d4b39
2 changed files with 2 additions and 3 deletions

View File

@@ -352,7 +352,8 @@ static void DoRailroadTrack(int mode)
DoCommandP(TileVirtXY(_thd.selstart.x, _thd.selstart.y), TileVirtXY(_thd.selend.x, _thd.selend.y), _cur_railtype | (mode << 4),
_remove_button_clicked ?
CMD_REMOVE_RAILROAD_TRACK | CMD_MSG(STR_ERROR_CAN_T_REMOVE_RAILROAD_TRACK) :
CMD_BUILD_RAILROAD_TRACK | CMD_MSG(STR_ERROR_CAN_T_BUILD_RAILROAD_TRACK));
CMD_BUILD_RAILROAD_TRACK | CMD_MSG(STR_ERROR_CAN_T_BUILD_RAILROAD_TRACK),
CcPlaySound1E);
}
static void HandleAutodirPlacement()