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
commitdd180a1e1883336a1edc3b4d6eac440f06e3685b (patch)
tree3f0769bd955cefba7ab80063e64546c1874e0a62 /dummy_land.c
parentfa213c686ee1d348d1eb167f2423261d8040205e (diff)
downloadopenttd-dd180a1e1883336a1edc3b4d6eac440f06e3685b.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)