aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/decompress1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/scicore/decompress1.cpp')
-rw-r--r--engines/sci/scicore/decompress1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/decompress1.cpp b/engines/sci/scicore/decompress1.cpp
index e231c24f9d..7269e29479 100644
--- a/engines/sci/scicore/decompress1.cpp
+++ b/engines/sci/scicore/decompress1.cpp
@@ -184,7 +184,7 @@ decrypt4_hdyn(byte *dest, int length, struct bit_read_struct *reader) {
else {
int length_bonus;
- val_length = 1<<(value - 7) + 8;
+ val_length = (1 << (value - 7)) + 8;
CALLC(length_bonus = getbits(reader, value - 7));
val_length += length_bonus;
}