diff options
author | truelight <truelight@openttd.org> | 2007-01-26 08:36:02 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-01-26 08:36:02 +0000 |
commit | 40f966958e1b3bbff698de783b224cd08bc1359e (patch) | |
tree | 09cca349ee36b8088b8ea0783ca569bcb6b83106 | |
parent | cf07eafb97ca0fabe6b501a7872ec6df8ee4521c (diff) | |
download | openttd-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.h | 2 |
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 ); |