[Scummvm-git-logs] scummvm master -> b1142facc38e7f3ccb240985eadd0c0f6e81e75e

athrxx noreply at scummvm.org
Sun Aug 27 13:39:48 UTC 2023


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:
b1142facc3 SCUMM: fix formatting/whitespace


Commit: b1142facc38e7f3ccb240985eadd0c0f6e81e75e
    https://github.com/scummvm/scummvm/commit/b1142facc38e7f3ccb240985eadd0c0f6e81e75e
Author: athrxx (athrxx at scummvm.org)
Date: 2023-08-27T15:38:52+02:00

Commit Message:
SCUMM: fix formatting/whitespace

Changed paths:
    engines/scumm/actor.cpp


diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index ed17fe64774..440d49ddf1a 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -908,15 +908,15 @@ void Actor::walkActor() {
 			return;
 
 		if (_moving & MF_LAST_LEG) {
-				_moving = 0;
-				setBox(_walkdata.destbox);
-				if (_vm->_game.version <= 6) {
-					startAnimActor(_standFrame);
-					if (_targetFacing != _walkdata.destdir)
-						turnToDirection(_walkdata.destdir);
-				} else {
-					startWalkAnim(3, _walkdata.destdir);
-				}
+			_moving = 0;
+			setBox(_walkdata.destbox);
+			if (_vm->_game.version <= 6) {
+				startAnimActor(_standFrame);
+				if (_targetFacing != _walkdata.destdir)
+					turnToDirection(_walkdata.destdir);
+			} else {
+				startWalkAnim(3, _walkdata.destdir);
+			}
 			return;
 		}
 




More information about the Scummvm-git-logs mailing list