summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
Diffstat (limited to 'src/table')
-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 );