From ca120eedad11f826b63bb5505a0f1f61aad740d4 Mon Sep 17 00:00:00 2001 From: dominik Date: Fri, 13 Aug 2004 18:27:33 +0000 Subject: (svn r40) Final slope graphics fix --- industry_cmd.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'industry_cmd.c') diff --git a/industry_cmd.c b/industry_cmd.c index 895ca0442..17fa7bcd2 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -334,6 +334,10 @@ static uint GetSlopeZ_Industry(TileInfo *ti) { return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; } +static uint GetSlopeTileh_Industry(TileInfo *ti) { + return 0; +} + static void GetAcceptedCargo_Industry(uint tile, AcceptedCargo *ac) { int m5 = _map5[tile]; @@ -1819,6 +1823,7 @@ const TileTypeProcs _tile_type_industry_procs = { GetProducedCargo_Industry, /* get_produced_cargo_proc */ NULL, /* vehicle_enter_tile_proc */ NULL, /* vehicle_leave_tile_proc */ + GetSlopeTileh_Industry, /* get_slope_tileh_proc */ }; static const byte _industry_desc[] = { -- cgit v1.2.3-54-g00ecf