diff options
author | Paul Gilbert | 2014-08-18 22:53:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-18 22:53:58 -0400 |
commit | 8d45ad265d0da07a1d2541cb74140185a8847417 (patch) | |
tree | 772ae69bac95dad81392b10bc32dff6794b5bbc0 | |
parent | c4a3770cfea0169b24ff46317febaa5ba82a5359 (diff) | |
download | scummvm-rg350-8d45ad265d0da07a1d2541cb74140185a8847417.tar.gz scummvm-rg350-8d45ad265d0da07a1d2541cb74140185a8847417.tar.bz2 scummvm-rg350-8d45ad265d0da07a1d2541cb74140185a8847417.zip |
ACCESS: Fix walking right
-rw-r--r-- | engines/access/player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/player.cpp b/engines/access/player.cpp index 13c99eefc3..72d6389602 100644 --- a/engines/access/player.cpp +++ b/engines/access/player.cpp @@ -356,7 +356,7 @@ void Player::walkRight() { int walkOffset = _walkOffRight[_frame - _sideWalkMin]; int tempL = _rawPlayerLow.x + _vm->_screen->_scaleTable2[walkOffset]; _rawTempL = (byte)tempL; - _rawXTemp = _rawPlayer.x + _vm->_screen->_scaleTable1[walkOffset] - + _rawXTemp = _rawPlayer.x + _vm->_screen->_scaleTable1[walkOffset] + (tempL >= 0x100 ? 1 : 0); } else { _rawXTemp = _rawPlayer.x + _vm->_screen->_scaleTable1[_scrollConst]; @@ -377,7 +377,7 @@ void Player::walkRight() { if (_frame > _sideWalkMax) _frame = _sideWalkMin; - plotCom1(); + plotCom(0); } } |