[Scummvm-git-logs] scummvm master -> 33a91863770b85ceea9807b908c6cd554bd94818

digitall noreply at scummvm.org
Mon Jan 3 15:02:26 UTC 2022


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:
33a9186377 ULTIMA8: Fix Cut and Paste Error


Commit: 33a91863770b85ceea9807b908c6cd554bd94818
    https://github.com/scummvm/scummvm/commit/33a91863770b85ceea9807b908c6cd554bd94818
Author: D G Turner (digitall at scummvm.org)
Date: 2022-01-03T15:01:50Z

Commit Message:
ULTIMA8: Fix Cut and Paste Error

Changed paths:
    engines/ultima/ultima8/world/actors/cru_avatar_mover_process.cpp


diff --git a/engines/ultima/ultima8/world/actors/cru_avatar_mover_process.cpp b/engines/ultima/ultima8/world/actors/cru_avatar_mover_process.cpp
index 1ae8f6c21c3..7ea90e60005 100644
--- a/engines/ultima/ultima8/world/actors/cru_avatar_mover_process.cpp
+++ b/engines/ultima/ultima8/world/actors/cru_avatar_mover_process.cpp
@@ -167,7 +167,7 @@ bool CruAvatarMoverProcess::checkOneShotMove(Direction direction) {
 				// TODO: check what should advance/retreat do here?
 				if (anim == Animation::combatRollLeft)
 					avatar->doAnim(Animation::kneelCombatRollLeft, direction);
-				else if (anim == Animation::combatRollLeft)
+				else if (anim == Animation::combatRollRight)
 					avatar->doAnim(Animation::kneelCombatRollRight, direction);
 				else if (anim == Animation::advance)
 					step(Animation::kneelingAdvance, direction);




More information about the Scummvm-git-logs mailing list