src/station_cmd.cpp
changeset 5905 422a010c5286
parent 5896 a9f7bdd841d4
child 5906 d743f61aba80
equal deleted inserted replaced
5904:17ba38dccdb3 5905:422a010c5286
  2147 			}
  2147 			}
  2148 			break;
  2148 			break;
  2149 
  2149 
  2150 		case TRANSPORT_WATER:
  2150 		case TRANSPORT_WATER:
  2151 			// buoy is coded as a station, it is always on open water
  2151 			// buoy is coded as a station, it is always on open water
  2152 			if (IsBuoy_(tile)) return TRACK_BIT_ALL * 0x101;
  2152 			if (IsBuoy(tile)) return TRACK_BIT_ALL * 0x101;
  2153 			break;
  2153 			break;
  2154 
  2154 
  2155 		case TRANSPORT_ROAD:
  2155 		case TRANSPORT_ROAD:
  2156 			if (IsRoadStopTile(tile)) {
  2156 			if (IsRoadStopTile(tile)) {
  2157 				return AxisToTrackBits(DiagDirToAxis(GetRoadStopDir(tile))) * 0x101;
  2157 				return AxisToTrackBits(DiagDirToAxis(GetRoadStopDir(tile))) * 0x101;