mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 06:59:10 +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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user