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 /dummy_land.c | |
parent | ecb6f670b0dc4b522fd712657db125162689cf4f (diff) | |
download | openttd-ca120eedad11f826b63bb5505a0f1f61aad740d4.tar.xz |
(svn r40) Final slope graphics fix
Diffstat (limited to 'dummy_land.c')
-rw-r--r-- | dummy_land.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dummy_land.c b/dummy_land.c index 48acc8165..e9399d468 100644 --- a/dummy_land.c +++ b/dummy_land.c @@ -13,6 +13,10 @@ static uint GetSlopeZ_Dummy(TileInfo *ti) { return GetPartialZ(ti->x&0xF, ti->y&0xF, ti->tileh) + ti->z; } +static uint GetSlopeZ_Dummy(TileInfo *ti) { + return ti->tileh; +} + static int32 ClearTile_Dummy(uint tile, byte flags) { return_cmd_error(STR_0001_OFF_EDGE_OF_MAP); } @@ -68,5 +72,6 @@ const TileTypeProcs _tile_type_dummy_procs = { NULL, /* get_produced_cargo_proc */ NULL, /* vehicle_enter_tile_proc */ NULL, /* vehicle_leave_tile_proc */ + GetSlopeTileh_Dummy, /* get_slope_tileh_proc */ }; |