diff options
Diffstat (limited to 'scumm/usage_bits.cpp')
-rw-r--r-- | scumm/usage_bits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/usage_bits.cpp b/scumm/usage_bits.cpp index 450b8cae84..3701fce0f8 100644 --- a/scumm/usage_bits.cpp +++ b/scumm/usage_bits.cpp @@ -26,8 +26,8 @@ void Scumm::upgradeGfxUsageBits() int i; for (i = 409; i >= 0; i--) { - bool dirty_bit = gfxUsageBits[i] & 0x80000000; - bool restored_bit = gfxUsageBits[i] & 0x40000000; + bool dirty_bit = ((gfxUsageBits[i] & 0x80000000) != 0); + bool restored_bit = ((gfxUsageBits[i] & 0x40000000) != 0); gfxUsageBits[3 * i] = gfxUsageBits[i] & 0x3FFFFFFF; if (dirty_bit) |