diff options
author | tron <tron@openttd.org> | 2005-10-15 11:06:54 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-15 11:06:54 +0000 |
commit | 53a4a6a0f4f2575768b094018d58c63b40a32dad (patch) | |
tree | b29021fa7ba6b899a521aa0856f9ea9ba5047dbe /tunnelbridge_cmd.c | |
parent | 668963a3591759e82bd247d49164b1c8754fd785 (diff) | |
download | openttd-53a4a6a0f4f2575768b094018d58c63b40a32dad.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.c | 4 |
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 |