aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge2/vga13h.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index 1895c319dc..33d5ba1335 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -48,7 +48,7 @@ void V3D::sync(Common::Serializer &s) {
FXP FXP::operator*(const FXP& x) const {
FXP y;
int32 t1 = (v >> 8) * x.v;
- int32 t2 = (v & 0xFF) * x.v;
+ int32 t2 = ((v & 0xFF) * x.v) >> 8;
y.v = t1 + t2;
return y;