Loading

Revision differences

Old revision #prho3dkroNew revision #pceswwkbb
1    /* Check whether the third tile is an aqueduct head, or a water tile  1    /* Check whether the third tile is an aqueduct head, or a water tile  
2     * with one corner raised with or without a rail track on the opposite  2     * with one corner raised with or without a rail track, or a buoy. */
3     * corner, or a buoy. */    
4    if (!IsTileType(tile_cur, MP_WATER)) {  3    if (!IsTileType(tile_cur, MP_WATER)) {  
5        if (IsTileType(tile_cur, MP_TUNNELBRIDGE)) {  4        if (IsTileType(tile_cur, MP_TUNNELBRIDGE)) {  
6            if (GetTunnelBridgeTransportType(tile_cur) != TRANSPORT_WATER) return_cmd_error(STR_ERROR_SITE_UNSUITABLE);  5            if (GetTunnelBridgeTransportType(tile_cur) != TRANSPORT_WATER) return_cmd_error(STR_ERROR_SITE_UNSUITABLE);