road_cmd.c
changeset 149 5f7d4b21df01
parent 84 1e0721c29bad
child 159 139cf78bfb28
equal deleted inserted replaced
148:6a72b12f5588 149:5f7d4b21df01
   628 	return cost + _price.build_road_depot;
   628 	return cost + _price.build_road_depot;
   629 }
   629 }
   630 
   630 
   631 static int32 RemoveRoadDepot(uint tile, uint32 flags)
   631 static int32 RemoveRoadDepot(uint tile, uint32 flags)
   632 {
   632 {
   633 	if (!CheckTileOwnership(tile))
   633 	if (!CheckTileOwnership(tile) && _current_player != OWNER_WATER)
   634 		return CMD_ERROR;
   634 		return CMD_ERROR;
   635 
   635 
   636 	if (!EnsureNoVehicle(tile))
   636 	if (!EnsureNoVehicle(tile))
   637 		return CMD_ERROR;
   637 		return CMD_ERROR;
   638 
   638