summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-26 08:36:02 +0000
committertruelight <truelight@openttd.org>2007-01-26 08:36:02 +0000
commit40f966958e1b3bbff698de783b224cd08bc1359e (patch)
tree09cca349ee36b8088b8ea0783ca569bcb6b83106
parentcf07eafb97ca0fabe6b501a7872ec6df8ee4521c (diff)
downloadopenttd-40f966958e1b3bbff698de783b224cd08bc1359e.tar.xz
(svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why!
-rw-r--r--src/table/sprites.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/sprites.h b/src/table/sprites.h
index 8ed8d19f0..3a7f365e1 100644
--- a/src/table/sprites.h
+++ b/src/table/sprites.h
@@ -1330,7 +1330,7 @@ enum SpriteMasks {
assert_compile( (1 << TRANSPARENT_BIT & SPRITE_MASK) == 0 );
assert_compile( (1 << RECOLOR_BIT & SPRITE_MASK) == 0 );
-assert_compile( TRANSPARENT_BIT != RECOLOR_BIT );
+assert_compile( !(TRANSPARENT_BIT == RECOLOR_BIT) );
assert_compile( (1 << TRANSPARENT_BIT & PALETTE_MASK) == 0);
assert_compile( (1 << RECOLOR_BIT & PALETTE_MASK) == 0 );