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 | 758ae7e8f63edbcc193443963e7a8cbe7dcac675 (patch) | |
tree | b1be08aaabd03b45d086543edd2c1e7ae8031d8e /industry_cmd.c | |
parent | cb67ee9bf50e46d194b62920775e2a5998a1318b (diff) | |
download | openttd-758ae7e8f63edbcc193443963e7a8cbe7dcac675.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 { |