diff options
author | dominik <dominik@openttd.org> | 2004-08-13 18:27:33 +0000 |
---|---|---|
committer | dominik <dominik@openttd.org> | 2004-08-13 18:27:33 +0000 |
commit | ca120eedad11f826b63bb5505a0f1f61aad740d4 (patch) | |
tree | 5791137b0f2b6552ea4bc03afa5cadaf28cf52de /clear_cmd.c | |
parent | ecb6f670b0dc4b522fd712657db125162689cf4f (diff) | |
download | openttd-ca120eedad11f826b63bb5505a0f1f61aad740d4.tar.xz |
(svn r40) Final slope graphics fix
Diffstat (limited to 'clear_cmd.c')
-rw-r--r-- | clear_cmd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index 6645b5f9c..0308485e8 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -514,6 +514,11 @@ static void DrawTile_Clear(TileInfo *ti) uint GetSlopeZ_Clear(TileInfo *ti) { return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; } +uint GetSlopeTileh_Clear(TileInfo *ti) +{ + return ti->tileh; +} + static void GetAcceptedCargo_Clear(uint tile, AcceptedCargo *ac) { /* unused */ @@ -803,4 +808,5 @@ const TileTypeProcs _tile_type_clear_procs = { NULL, /* get_produced_cargo_proc */ NULL, /* vehicle_enter_tile_proc */ NULL, /* vehicle_leave_tile_proc */ + GetSlopeTileh_Clear, /* get_slope_tileh_proc */ }; |