diff options
author | terkhen <terkhen@openttd.org> | 2010-08-09 10:59:30 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-08-09 10:59:30 +0000 |
commit | 78fd08c7b252876ee93beb2a9d8a3833c454cac6 (patch) | |
tree | 432f84b17ab0c189db64cf63b47bdc73b53796da /src/tunnelbridge_cmd.cpp | |
parent | 7f1425c333327858dcd48db7c2718cd1d9d777c7 (diff) | |
download | openttd-78fd08c7b252876ee93beb2a9d8a3833c454cac6.tar.xz |
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 7cfa11c5c..1fa3e770c 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -1253,7 +1253,7 @@ void DrawBridgeMiddle(const TileInfo *ti) } else if (transport_type == TRANSPORT_RAIL) { const RailtypeInfo *rti = GetRailTypeInfo(GetRailType(rampsouth)); if (rti->UsesOverlay()) { - SpriteID surface = GetCustomRailSprite(rti, rampsouth, RTSG_BRIDGE, TC_ON_BRIDGE); + SpriteID surface = GetCustomRailSprite(rti, rampsouth, RTSG_BRIDGE, TCX_ON_BRIDGE); if (surface != 0) { AddSortableSpriteToDraw(surface + axis, PAL_NONE, x, y, 16, 16, 0, bridge_z, IsTransparencySet(TO_BRIDGES)); } |