aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-02 10:23:43 -0400
committerPaul Gilbert2014-08-02 10:23:43 -0400
commit96ab1d5d83950e764be4e13248584498e4d79c7c (patch)
tree6c5b92d4822008266519cd026dc17149542286dc /engines
parent1a49887855d4b0075fa87203f3403250b308429b (diff)
downloadscummvm-rg350-96ab1d5d83950e764be4e13248584498e4d79c7c.tar.gz
scummvm-rg350-96ab1d5d83950e764be4e13248584498e4d79c7c.tar.bz2
scummvm-rg350-96ab1d5d83950e764be4e13248584498e4d79c7c.zip
CGE2: Further FXP multiply fix to fix hero scaling
Diffstat (limited to 'engines')
-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;