(svn r22765) -Cleanup: Remove unused constants and name a magic constant

This commit is contained in:
planetmaker
2011-08-20 05:35:03 +00:00
parent 61d5dd64b8
commit 9a8285b0f5
2 changed files with 4 additions and 15 deletions

View File

@@ -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];