diff options
author | Alyssa Milburn | 2011-08-16 23:37:24 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-08-16 23:37:26 +0200 |
commit | 23dce51605b66f732a7052fe6fc52909ae62b18f (patch) | |
tree | 4fc3e4b97665aeab5c15cb32a3a422eda8a40e9e | |
parent | a9345c0cc3f802599b59b5d5b6b25f20c5f49b13 (diff) | |
download | scummvm-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.cpp | 2 |
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; |