[Scummvm-git-logs] scummvm master -> 7032f742ff751ffc29a3428524bd0cce6e321630
athrxx
athrxx at scummvm.org
Thu Jul 29 20:54:07 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7032f742ff SCUMM: COMI: Fix bug #12029
Commit: 7032f742ff751ffc29a3428524bd0cce6e321630
https://github.com/scummvm/scummvm/commit/7032f742ff751ffc29a3428524bd0cce6e321630
Author: Andrea Boscarino (andywinxp at gmail.com)
Date: 2021-07-29T22:54:04+02:00
Commit Message:
SCUMM: COMI: Fix bug #12029
Changed paths:
engines/scumm/actor.cpp
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 89bab96141..16242938fb 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -514,7 +514,7 @@ int Actor::calcMovementFactor(const Common::Point& next) {
deltaYFactor = 0;
}
- if ((uint)ABS(deltaXFactor) > (_speedx << 16)) {
+ if ((uint)ABS(deltaXFactor >> 16) > _speedx) {
deltaXFactor = _speedx << 16;
if (diffX < 0)
deltaXFactor = -deltaXFactor;
More information about the Scummvm-git-logs
mailing list