diff options
author | tron <tron@openttd.org> | 2005-10-19 06:46:41 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-19 06:46:41 +0000 |
commit | b17b87469c353393e05b9cf3c7e391edc2332dab (patch) | |
tree | b1be08aaabd03b45d086543edd2c1e7ae8031d8e /industry_cmd.c | |
parent | d50ef149928ba9f46cb68df6a7d94bad642c70b5 (diff) | |
download | openttd-b17b87469c353393e05b9cf3c7e391edc2332dab.tar.xz |
(svn r3064) Replace some numbers by sprite names
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index 953c0fa4f..0a228343a 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -360,7 +360,7 @@ static void DrawTile_Industry(TileInfo *ti) z = ti->z; /* Add bricks below the industry? */ if (ti->tileh & 0xF) { - AddSortableSpriteToDraw((ti->tileh & 0xF) + 0x3DD, ti->x, ti->y, 16, 16, 7, z); + AddSortableSpriteToDraw(SPR_FOUNDATION_BASE + (ti->tileh & 0xF), ti->x, ti->y, 16, 16, 7, z); AddChildSpriteScreen(image, 0x1F, 1); z += 8; } else { |