aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorColin Snover2016-03-07 22:57:46 -0600
committerColin Snover2016-03-07 22:57:46 -0600
commit82be9326f792e95c679cd0394a98efd8c2532a35 (patch)
treeb9cd0581a4e07ad9acdf4acbe24ade983811de4c /engines/sci/graphics
parent0235a84b905a79677fb0c95c7277c0fa3c89bb23 (diff)
downloadscummvm-rg350-82be9326f792e95c679cd0394a98efd8c2532a35.tar.gz
scummvm-rg350-82be9326f792e95c679cd0394a98efd8c2532a35.tar.bz2
scummvm-rg350-82be9326f792e95c679cd0394a98efd8c2532a35.zip
SCI32: Actually use the BitmapFlags enum
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/text32.h6
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);
}