From ccd6a0614f57518fffec7bd5fa4c07e9eb1bfd2d Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 24 Mar 2005 07:48:04 +0000 Subject: (svn r2040) Readd check that got accidently removed in r2022 --- rail_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rail_cmd.c b/rail_cmd.c index c6f3c944b..8b37a00b6 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -1113,7 +1113,8 @@ int32 CmdRemoveSingleSignal(int x, int y, uint32 flags, uint32 p1, uint32 p2) (_map3_lo[tile] & _signals_table_both[track]) == 0) // signals on track? return CMD_ERROR; - if (!CheckTileOwnership(tile)) return CMD_ERROR; + if (_current_player != OWNER_WATER && !CheckTileOwnership(tile)) + return CMD_ERROR; SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION); -- cgit v1.2.3-70-g09d2