summaryrefslogtreecommitdiff
path: root/dummy_land.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-23 13:48:16 +0000
committertron <tron@openttd.org>2006-04-23 13:48:16 +0000
commit0347fb2ab67e942826523424c35ede66d27339fe (patch)
tree3f0769bd955cefba7ab80063e64546c1874e0a62 /dummy_land.c
parentb5ce99c52d1ce36f56431652f7fcc67eb9d5bf6d (diff)
downloadopenttd-0347fb2ab67e942826523424c35ede66d27339fe.tar.xz
(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
Diffstat (limited to 'dummy_land.c')
-rw-r--r--dummy_land.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dummy_land.c b/dummy_land.c
index b852ddcdf..390678450 100644
--- a/dummy_land.c
+++ b/dummy_land.c
@@ -19,9 +19,9 @@ static uint GetSlopeZ_Dummy(const TileInfo* ti)
return 0;
}
-static uint GetSlopeTileh_Dummy(TileIndex tile, uint tileh)
+static Slope GetSlopeTileh_Dummy(TileIndex tile, Slope tileh)
{
- return 0;
+ return SLOPE_FLAT;
}
static int32 ClearTile_Dummy(TileIndex tile, byte flags)