From 820b8ca230b5b0a32e75b8b3f636921f3293363f Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 21 Mar 2006 20:02:05 +0000 Subject: (svn r3996) -Fix: Slope and height information returned for some tile types is wrong This leads to graphical glitches when drawing foundations. This doesn't fix all problems, but at least some of them. --- dummy_land.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dummy_land.c') diff --git a/dummy_land.c b/dummy_land.c index 97b9a05d4..9cc7ec590 100644 --- a/dummy_land.c +++ b/dummy_land.c @@ -16,12 +16,12 @@ static void DrawTile_Dummy(TileInfo *ti) static uint GetSlopeZ_Dummy(const TileInfo* ti) { - return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; + return 0; } static uint GetSlopeTileh_Dummy(const TileInfo* ti) { - return ti->tileh; + return 0; } static int32 ClearTile_Dummy(TileIndex tile, byte flags) -- cgit v1.2.3-70-g09d2