equal
deleted
inserted
replaced
592 } |
592 } |
593 } |
593 } |
594 |
594 |
595 /* check correct rail type (mono, maglev, etc) */ |
595 /* check correct rail type (mono, maglev, etc) */ |
596 if (type == TRANSPORT_RAIL) { |
596 if (type == TRANSPORT_RAIL) { |
597 RailType dst_type = GetTileRailType(dst_tile, TrackdirToTrack(src_trackdir)); |
597 RailType dst_type = GetTileRailType(dst_tile); |
598 if (!HASBIT(aystar->user_data[NPF_RAILTYPES], dst_type)) |
598 if (!HASBIT(aystar->user_data[NPF_RAILTYPES], dst_type)) |
599 return; |
599 return; |
600 } |
600 } |
601 |
601 |
602 /* Check the owner of the tile */ |
602 /* Check the owner of the tile */ |