diff options
author | planetmaker <planetmaker@openttd.org> | 2011-08-20 05:35:03 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2011-08-20 05:35:03 +0000 |
commit | b102b58bde877c389e1f2ca775809fcf1a9fb0fb (patch) | |
tree | 1e48c44234a46b8b5d10322fb9e83d6fa03e63de /src/road_cmd.cpp | |
parent | 27aff44e77493ca87d6b75fa99c972a5035a42dc (diff) | |
download | openttd-b102b58bde877c389e1f2ca775809fcf1a9fb0fb.tar.xz |
(svn r22765) -Cleanup: Remove unused constants and name a magic constant
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 75df89882..64e59640c 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -1138,7 +1138,7 @@ static void DrawRoadBits(TileInfo *ti) /* DrawFoundation() modifies ti. * Default sloped sprites.. */ - if (ti->tileh != SLOPE_FLAT) image = _road_sloped_sprites[ti->tileh - 1] + 0x53F; + if (ti->tileh != SLOPE_FLAT) image = _road_sloped_sprites[ti->tileh - 1] + SPR_ROAD_SLOPE_START; } if (image == 0) image = _road_tile_sprites_1[road != ROAD_NONE ? road : tram]; |