summaryrefslogtreecommitdiff
path: root/tunnelbridge_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-15 11:06:54 +0000
committertron <tron@openttd.org>2005-10-15 11:06:54 +0000
commitd5042d4ab2739150a311f032a7df63b45ef65928 (patch)
treeb29021fa7ba6b899a521aa0856f9ea9ba5047dbe /tunnelbridge_cmd.c
parentab41ccb23c92b30fdbdfe793e31ccc4bd5df6661 (diff)
downloadopenttd-d5042d4ab2739150a311f032a7df63b45ef65928.tar.xz
(svn r3046) Replace some numbers with sprite names and fix a typo in the sprite list
Diffstat (limited to 'tunnelbridge_cmd.c')
-rw-r--r--tunnelbridge_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c
index c16329669..aa509b428 100644
--- a/tunnelbridge_cmd.c
+++ b/tunnelbridge_cmd.c
@@ -1074,7 +1074,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
if (f) DrawFoundation(ti, f);
// default sloped sprites..
- if (ti->tileh != 0) image = _track_sloped_sprites[ti->tileh - 1] + 0x3F3;
+ if (ti->tileh != 0) image = SPR_RAIL_TRACK_Y + _track_sloped_sprites[ti->tileh - 1];
}
// bridge ending.
@@ -1089,7 +1089,7 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
if (!ice) {
DrawClearLandTile(ti, 3);
} else {
- DrawGroundSprite(0x11C6 + _tileh_to_sprite[ti->tileh]);
+ DrawGroundSprite(SPR_FLAT_SNOWY_TILE + _tileh_to_sprite[ti->tileh]);
}
// draw ramp