(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
--- a/src/tunnelbridge_cmd.cpp Mon Oct 08 20:16:25 2007 +0000
+++ b/src/tunnelbridge_cmd.cpp Mon Oct 08 20:42:33 2007 +0000
@@ -927,7 +927,7 @@
{ 1, 0, -15, -14, 0, 15, 16, 1, 0, 1, 16, 15 }, // SW
{ 0, 1, -14, -15, 15, 0, 1, 16, 1, 0, 15, 16 }, // NW
};
- static const int *BB_data = _tunnel_BB[GetTunnelDirection(ti->tile)];
+ const int *BB_data = _tunnel_BB[GetTunnelDirection(ti->tile)];
bool catenary = false;