(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.
/* $Id$ *//** @file tunnelbridge.h Header file for things common for tunnels and bridges */#ifndef TUNNELBRIDGE_H#define TUNNELBRIDGE_H#include"tile_type.h"#include"map_func.h"#include"tunnelbridge_map.h"/** * Calculates the length of a tunnel or a bridge (without end tiles) * @return length of bridge/tunnel middle */staticinlineuintGetTunnelBridgeLength(TileIndexbegin,TileIndexend){intx1=TileX(begin);inty1=TileY(begin);intx2=TileX(end);inty2=TileY(end);returnabs(x2+y2-x1-y1)-1;}#endif /* TUNNELBRIDGE_H */