Change various asserts to not be included in release builds
This commit is contained in:
@@ -94,7 +94,7 @@ static inline int GetSlopePixelZInCorner(Slope tileh, Corner corner)
|
||||
*/
|
||||
static inline Slope GetFoundationPixelSlope(TileIndex tile, int *z)
|
||||
{
|
||||
assert(z != nullptr);
|
||||
dbg_assert(z != nullptr);
|
||||
Slope s = GetFoundationSlope(tile, z);
|
||||
*z *= TILE_HEIGHT;
|
||||
return s;
|
||||
|
||||
Reference in New Issue
Block a user