summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-08 20:42:33 +0000
committerrubidium <rubidium@openttd.org>2007-10-08 20:42:33 +0000
commit646615307efc44b68b04ccf6308f51bb623197f7 (patch)
tree693a6e5283760435930afbe7ab7887bdb8d7de3c /src
parentc8df83267851a7f6c9a323ea36576cfb00f5aa48 (diff)
downloadopenttd-646615307efc44b68b04ccf6308f51bb623197f7.tar.xz
(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
Diffstat (limited to 'src')
-rw-r--r--src/tunnelbridge_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index bfde141c4..1bdd87ca2 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -927,7 +927,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
{ 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;