aboutsummaryrefslogtreecommitdiff
path: root/src/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.cpp')
-rw-r--r--src/tile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile.cpp b/src/tile.cpp
index fa2f4c84e..e7e37a4fe 100644
--- a/src/tile.cpp
+++ b/src/tile.cpp
@@ -1859,7 +1859,7 @@ void imageTransform(u32 transform, video::IImage *src, video::IImage *dst)
core::dimension2d<u32> dstdim = dst->getDimension();
assert(dstdim == imageTransformDimension(transform, srcdim));
- assert(transform >= 0 && transform <= 7);
+ assert(transform <= 7);
/*
Compute the transformation from source coordinates (sx,sy)