aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cruise/dataLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/dataLoader.cpp b/engines/cruise/dataLoader.cpp
index b393d55106..2e62fb8657 100644
--- a/engines/cruise/dataLoader.cpp
+++ b/engines/cruise/dataLoader.cpp
@@ -420,7 +420,7 @@ int loadSetEntry(const char *name, uint8 *ptr, int currentEntryIdx, int currentD
localBuffer.width = s4.readUint16BE();
localBuffer.height = s4.readUint16BE();
localBuffer.type = s4.readUint16BE();
- localBuffer.transparency = s4.readUint16BE();
+ localBuffer.transparency = s4.readUint16BE() & 0x1F;
localBuffer.hotspotY = s4.readUint16BE();
localBuffer.hotspotX = s4.readUint16BE();