From 90507de6e4de17728337c066791fe25be4287301 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 12 Jun 2008 21:36:56 +0000 Subject: (svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback. --- src/slope_func.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/slope_func.h') diff --git a/src/slope_func.h b/src/slope_func.h index 7bfa5e52d..99722f62b 100644 --- a/src/slope_func.h +++ b/src/slope_func.h @@ -347,13 +347,11 @@ static inline Corner GetRailFoundationCorner(Foundation f) * Returns the foundation needed to flatten a slope. * The returned foundation is either FOUNDATION_NONE if the tile was already flat, or FOUNDATION_LEVELED. * - * @pre The slope must not be steep. * @param s The current #Slope. * @return The needed #Foundation. */ static inline Foundation FlatteningFoundation(Slope s) { - assert(!IsSteepSlope(s)); return (s == SLOPE_FLAT ? FOUNDATION_NONE : FOUNDATION_LEVELED); } -- cgit v1.2.3-54-g00ecf