train_cmd.c
branchcustombridgeheads
changeset 5638 252f1a09e117
parent 5637 30d8850ae4fe
equal deleted inserted replaced
5637:30d8850ae4fe 5638:252f1a09e117
  2812 
  2812 
  2813 /* Check if the vehicle is compatible with the specified tile */
  2813 /* Check if the vehicle is compatible with the specified tile */
  2814 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile)
  2814 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile)
  2815 {
  2815 {
  2816 	switch (GetTileType(tile)) {
  2816 	switch (GetTileType(tile)) {
       
  2817 		case MP_RAILWAY_BRIDGE:
  2817 		case MP_RAILWAY:
  2818 		case MP_RAILWAY:
  2818 		case MP_STATION:
  2819 		case MP_STATION:
  2819 			// normal tracks, jump to owner check
  2820 			// normal tracks, jump to owner check
  2820 			break;
  2821 			break;
  2821 
  2822