aboutsummaryrefslogtreecommitdiff
path: root/engines/cryo/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryo/video.cpp')
-rw-r--r--engines/cryo/video.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cryo/video.cpp b/engines/cryo/video.cpp
index 88326e647e..fe242425e5 100644
--- a/engines/cryo/video.cpp
+++ b/engines/cryo/video.cpp
@@ -264,7 +264,8 @@ void HnmPlayer::decompLempelZiv(byte *buffer, byte *output) {
if (!l)
break;
} else {
- l = GetBit() * 2 + GetBit();
+ l = GetBit() * 2;
+ l += GetBit();
o = *(inp++) - 256;
}
l += 2;