src/town_cmd.cpp
changeset 8197 3af783256580
parent 8187 ebae31fc6f0b
child 8214 971f861d5543
equal deleted inserted replaced
8196:784ea9554da3 8197:3af783256580
  1060 		bool allow_house = false; // Value which decides if we want to construct a house
  1060 		bool allow_house = false; // Value which decides if we want to construct a house
  1061 
  1061 
  1062 		/* Reached a tunnel/bridge? Then continue at the other side of it. */
  1062 		/* Reached a tunnel/bridge? Then continue at the other side of it. */
  1063 		if (IsTileType(tile, MP_TUNNELBRIDGE)) {
  1063 		if (IsTileType(tile, MP_TUNNELBRIDGE)) {
  1064 			if (GetTunnelBridgeTransportType(tile) == TRANSPORT_ROAD) {
  1064 			if (GetTunnelBridgeTransportType(tile) == TRANSPORT_ROAD) {
  1065 				*tile_ptr = IsTunnel(tile) ? GetOtherTunnelEnd(tile) : GetOtherBridgeEnd(tile);
  1065 				*tile_ptr = GetOtherTunnelBridgeEnd(tile);
  1066 			}
  1066 			}
  1067 			return;
  1067 			return;
  1068 		}
  1068 		}
  1069 
  1069 
  1070 		/* Possibly extend the road in a direction.
  1070 		/* Possibly extend the road in a direction.