diff options
author | Travis Howell | 2009-07-11 12:23:42 +0000 |
---|---|---|
committer | Travis Howell | 2009-07-11 12:23:42 +0000 |
commit | 1c02b93b7093c436978d8ad8916dabf43cd1591e (patch) | |
tree | 76746910bb7f2fe977323176908ddd60b65cf1be | |
parent | 2ceea652e62b301adea4628cebe4116191aa4998 (diff) | |
download | scummvm-rg350-1c02b93b7093c436978d8ad8916dabf43cd1591e.tar.gz scummvm-rg350-1c02b93b7093c436978d8ad8916dabf43cd1591e.tar.bz2 scummvm-rg350-1c02b93b7093c436978d8ad8916dabf43cd1591e.zip |
Fix pinball type mini game in Putt-Putt Enters The Race.
svn-id: r42382
-rw-r--r-- | engines/scumm/he/logic_he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp index a095622173..a24f4d4665 100644 --- a/engines/scumm/he/logic_he.cpp +++ b/engines/scumm/he/logic_he.cpp @@ -357,8 +357,8 @@ int32 LogicHErace::op_1140(int32 *args) { const double scalarProduct = x * args[0] + y * args[1]; // Finally compute the projection of (arg2,arg3) onto (arg0,arg1) - double projX = args[0] - 2 * scalarProduct * args[2]; - double projY = args[1] - 2 * scalarProduct * args[3]; + double projX = args[0] - 2 * scalarProduct * x; + double projY = args[1] - 2 * scalarProduct * y; projX = projX * 20.0 / 23.0; // FIXME: Why is this here? |