[Scummvm-git-logs] scummvm master -> ac48392e7da3f3c9151328a4f369b41e8244b142
aquadran
noreply at scummvm.org
Tue Jul 22 20:08:24 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:
ac48392e7d WINTERMUTE: Code delta compared with Lite version
Commit: ac48392e7da3f3c9151328a4f369b41e8244b142
https://github.com/scummvm/scummvm/commit/ac48392e7da3f3c9151328a4f369b41e8244b142
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-07-22T22:08:19+02:00
Commit Message:
WINTERMUTE: Code delta compared with Lite version
Changed paths:
engines/wintermute/ad/ad_actor.cpp
diff --git a/engines/wintermute/ad/ad_actor.cpp b/engines/wintermute/ad/ad_actor.cpp
index ef995d42b33..d016ebddcb6 100644
--- a/engines/wintermute/ad/ad_actor.cpp
+++ b/engines/wintermute/ad/ad_actor.cpp
@@ -652,10 +652,16 @@ bool AdActor::update() {
//////////////////////////////////////////////////////////////////////////
case STATE_TURNING_LEFT:
if (_tempSprite2 == nullptr || _tempSprite2->isFinished()) {
- if (_dir > 0) {
+ if (BaseEngine::instance().getTargetExecutable() < WME_LITE) {
_dir = (TDirection)(_dir - 1);
+ if (_dir < 0)
+ _dir = (TDirection)(NUM_DIRECTIONS - 1);
} else {
- _dir = (TDirection)(NUM_DIRECTIONS - 1);
+ if (_dir > 0) {
+ _dir = (TDirection)(_dir - 1);
+ } else {
+ _dir = (TDirection)(NUM_DIRECTIONS - 1);
+ }
}
if (_dir == _targetDir) {
More information about the Scummvm-git-logs
mailing list