diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/text32.h | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |