mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
This commit is contained in:
parent
cbfe23108c
commit
8c572c0ee5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user