[Scummvm-git-logs] scummvm master -> 71a5a635ae206a82e6e1828a13b1e09bcb303d83

aquadran noreply at scummvm.org
Thu Jul 24 11:10:10 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:
71a5a635ae WINTERMUTE: Revert delta. Lite version looks like a fix


Commit: 71a5a635ae206a82e6e1828a13b1e09bcb303d83
    https://github.com/scummvm/scummvm/commit/71a5a635ae206a82e6e1828a13b1e09bcb303d83
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-07-24T13:09:59+02:00

Commit Message:
WINTERMUTE: Revert delta. Lite version looks like a fix

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 a68aaa0c8b6..51f26539c6b 100644
--- a/engines/wintermute/ad/ad_actor.cpp
+++ b/engines/wintermute/ad/ad_actor.cpp
@@ -654,16 +654,10 @@ bool AdActor::update() {
 		//////////////////////////////////////////////////////////////////////////
 	case STATE_TURNING_LEFT:
 		if (_tempSprite2 == nullptr || _tempSprite2->isFinished()) {
-			if (BaseEngine::instance().getTargetExecutable() < WME_LITE) {
+			if (_dir > 0) {
 				_dir = (TDirection)(_dir - 1);
-				if (_dir < 0)
-					_dir = (TDirection)(NUM_DIRECTIONS - 1);
 			} else {
-				if (_dir > 0) {
-					_dir = (TDirection)(_dir - 1);
-				} else {
-					_dir = (TDirection)(NUM_DIRECTIONS - 1);
-				}
+				_dir = (TDirection)(NUM_DIRECTIONS - 1);
 			}
 
 			if (_dir == _targetDir) {




More information about the Scummvm-git-logs mailing list