aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2011-08-16 23:37:24 +0200
committerAlyssa Milburn2011-08-16 23:37:26 +0200
commit23dce51605b66f732a7052fe6fc52909ae62b18f (patch)
tree4fc3e4b97665aeab5c15cb32a3a422eda8a40e9e
parenta9345c0cc3f802599b59b5d5b6b25f20c5f49b13 (diff)
downloadscummvm-rg350-23dce51605b66f732a7052fe6fc52909ae62b18f.tar.gz
scummvm-rg350-23dce51605b66f732a7052fe6fc52909ae62b18f.tar.bz2
scummvm-rg350-23dce51605b66f732a7052fe6fc52909ae62b18f.zip
SCUMM: Fix cross product call in soccer u32 code.
Thanks to wjp and clone2727 for staring at this with me.
-rw-r--r--engines/scumm/he/logic_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp
index 557ed46f49..1110e60413 100644
--- a/engines/scumm/he/logic_he.cpp
+++ b/engines/scumm/he/logic_he.cpp
@@ -1563,7 +1563,7 @@ int LogicHEsoccer::op_1014_sub1(int a1, float a2, float a3, float a4, float a5,
float v233, v267, v264, v238, v273, v259, v237, v271, v242, v269, v253, v240;
float v265, v260, v255;
op_1014_sub1_0(i, v233, v267, v264, v238, v273, v259, v237, v271, v242, v269, v253, v240, v256);
- op_1014_sub1_1(v233, v267, v264, v238, v273, v259, v237, v271, v242, v269, v253, v240, v265, v260, v255);
+ op_1014_sub1_1(v233, v267, v264, v238, v273, v259, v233, v267, v264, v237, v271, v242, v265, v260, v255);
double v14 = sqrt(v265 * v265 + v260 * v260 + v255 * v255);
float v243 = v14;