diff options
author | Matthew Hoops | 2011-08-08 00:59:09 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-08-08 00:59:09 -0400 |
commit | 9c52724ce56c16c7fe1e9fdd3532d7e14b53c238 (patch) | |
tree | b48a73fdb314f6ddbe3a48b65d3728988380f2ee /engines | |
parent | c05c42ecc60c8f928628787272743f169a0d5903 (diff) | |
download | scummvm-rg350-9c52724ce56c16c7fe1e9fdd3532d7e14b53c238.tar.gz scummvm-rg350-9c52724ce56c16c7fe1e9fdd3532d7e14b53c238.tar.bz2 scummvm-rg350-9c52724ce56c16c7fe1e9fdd3532d7e14b53c238.zip |
SCUMM: Fix another original soccer u32 difference
Soccer is slightly more playable, but clicking does nothing most of the time.
Diffstat (limited to 'engines')
-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 91858b215b..d22ee45824 100644 --- a/engines/scumm/he/logic_he.cpp +++ b/engines/scumm/he/logic_he.cpp @@ -1237,7 +1237,7 @@ int LogicHEsoccer::op_1011(int32 a1, int32 a2, int32 a3, int32 a4, int32 a5, int // This retains v28 from (i == 17)? float v16 = _userDataD[524] - v28; float v17 = v16 / tan((_userDataD[528] + v15 - _userDataD[526]) / _userDataD[522] + _userDataD[521]); - double v18 = tan((double)(v14 - 640) / _userDataD[523]) * v17; + double v18 = tan((double)(v14 - ((_vm->_game.id == GID_SOCCER) ? 0 : 640)) / _userDataD[523]) * v17; putInArray(a1, i, 0, (int)(v18 * 100.0)); putInArray(a1, i, 2, (int)(v17 * 100.0)); } |