[Scummvm-git-logs] scummvm master -> eefca8bffbc4482461a30a7658ba534f13abb082
athrxx
noreply at scummvm.org
Sat Jun 21 14:06:38 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
eefca8bffb SCUMM: (DIG) - fix setActorWalkSpeed
Commit: eefca8bffbc4482461a30a7658ba534f13abb082
https://github.com/scummvm/scummvm/commit/eefca8bffbc4482461a30a7658ba534f13abb082
Author: athrxx (athrxx at scummvm.org)
Date: 2025-06-21T16:05:49+02:00
Commit Message:
SCUMM: (DIG) - fix setActorWalkSpeed
The check that we had there for COMI
also applies to DIG. FT does not have it.
Changed paths:
engines/scumm/actor.cpp
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 0c01fbae3ee..9ba9b360d13 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -499,7 +499,7 @@ void Actor::setActorWalkSpeed(uint newSpeedX, uint newSpeedY) {
_speedy = newSpeedY;
if (_moving) {
- if (_vm->_game.version == 8 && (_moving & MF_IN_LEG) == 0)
+ if ((_vm->_game.id == GID_CMI || _vm->_game.id == GID_DIG) && (_moving & MF_IN_LEG) == 0)
return;
calcMovementFactor(_walkdata.next);
}
More information about the Scummvm-git-logs
mailing list