From 82be9326f792e95c679cd0394a98efd8c2532a35 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Mon, 7 Mar 2016 22:57:46 -0600 Subject: SCI32: Actually use the BitmapFlags enum --- engines/sci/graphics/text32.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci/graphics') diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h index f44035af7e..472d5e0956 100644 --- a/engines/sci/graphics/text32.h +++ b/engines/sci/graphics/text32.h @@ -154,15 +154,15 @@ public: } inline bool getRemap() const { - return READ_SCI11ENDIAN_UINT16(_bitmap + 10) & 2; + return READ_SCI11ENDIAN_UINT16(_bitmap + 10) & kBitmapRemap; } inline void setRemap(const bool remap) { uint16 flags = READ_SCI11ENDIAN_UINT16(_bitmap + 10); if (remap) { - flags |= 2; + flags |= kBitmapRemap; } else { - flags &= ~2; + flags &= ~kBitmapRemap; } WRITE_SCI11ENDIAN_UINT16(_bitmap + 10, flags); } -- cgit v1.2.3