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 /unmovable_cmd.c | |
parent | ecb6f670b0dc4b522fd712657db125162689cf4f (diff) | |
download | openttd-ca120eedad11f826b63bb5505a0f1f61aad740d4.tar.xz |
(svn r40) Final slope graphics fix
Diffstat (limited to 'unmovable_cmd.c')
-rw-r--r-- | unmovable_cmd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unmovable_cmd.c b/unmovable_cmd.c index ac72f6f3e..85afec5f1 100644 --- a/unmovable_cmd.c +++ b/unmovable_cmd.c @@ -106,6 +106,11 @@ static uint GetSlopeZ_Unmovable(TileInfo *ti) return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; } +static uint GetSlopeTileh_Unmovable(TileInfo *ti) +{ + return 0; +} + static int32 ClearTile_Unmovable(uint tile, byte flags) { byte m5 = _map5[tile]; @@ -386,4 +391,5 @@ const TileTypeProcs _tile_type_unmovable_procs = { NULL, /* get_produced_cargo_proc */ NULL, /* vehicle_enter_tile_proc */ NULL, /* vehicle_leave_tile_proc */ + GetSlopeTileh_Unmovable, /* get_slope_tileh_proc */ }; |