diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 11:19:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 11:19:30 +0000 |
commit | 548dd91ef0ed6d470dc3553b994022ead99ece95 (patch) | |
tree | 2f948640d743b22b564a36d2b01258c3e6650097 /src/tunnelbridge_cmd.cpp | |
parent | 28d25cadfc87398c3b352a07de377b836e4aa0d1 (diff) | |
download | openttd-548dd91ef0ed6d470dc3553b994022ead99ece95.tar.xz |
(svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well
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 5823ff679..a08410eb5 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -861,7 +861,7 @@ static void DrawBridgePillars(const PalSpriteID *psid, const TileInfo *ti, Axis } /* Draw back facing pillar, but not the highest part directly under the bridge-floor */ - if (drawfarpillar && cur_z >= back_height && cur_z < z_bridge - TILE_HEIGHT) { + if (drawfarpillar && cur_z >= back_height && cur_z < z_bridge - (int)TILE_HEIGHT) { AddSortableSpriteToDraw(image, psid->pal, x_back, y_back, w, h, BB_HEIGHT_UNDER_BRIDGE - 5, cur_z, IsTransparencySet(TO_BRIDGES), 0, 0, -5); } } |