From dd180a1e1883336a1edc3b4d6eac440f06e3685b Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 23 Apr 2006 13:48:16 +0000 Subject: (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums --- 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 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) -- cgit v1.2.3-54-g00ecf