diff options
author | tron <tron@openttd.org> | 2006-03-21 20:02:05 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-21 20:02:05 +0000 |
commit | 820b8ca230b5b0a32e75b8b3f636921f3293363f (patch) | |
tree | 3dd764e9709bc9811e7667a7182d82eb843bfa22 /dummy_land.c | |
parent | a1758406976f06bb07c5cb5f95ef2c205c6ad1c2 (diff) | |
download | openttd-820b8ca230b5b0a32e75b8b3f636921f3293363f.tar.xz |
(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.
Diffstat (limited to 'dummy_land.c')
-rw-r--r-- | dummy_land.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |