changeset 39 | d177340ed556 |
parent 0 | 29654efe3188 |
child 91 | 6477ea0c240d |
--- a/tree_cmd.c Fri Aug 13 17:41:44 2004 +0000 +++ b/tree_cmd.c Fri Aug 13 18:27:33 2004 +0000 @@ -332,6 +332,10 @@ return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; } +static uint GetSlopeTileh_Trees(TileInfo *ti) { + return ti->tileh; +} + static int32 ClearTile_Trees(uint tile, byte flags) { int num; @@ -644,4 +648,5 @@ NULL, /* get_produced_cargo_proc */ NULL, /* vehicle_enter_tile_proc */ NULL, /* vehicle_leave_tile_proc */ + GetSlopeTileh_Trees, /* get_slope_tileh_proc */ };