[Scummvm-cvs-logs] scummvm master -> c00306c89576e6e82ce9526d8f28965ef10bfa40

dreammaster dreammaster at scummvm.org
Fri Aug 26 12:23:27 CEST 2011


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:
c00306c895 TSAGE: Minor tweaks to the new code for ANIM_MODE_9


Commit: c00306c89576e6e82ce9526d8f28965ef10bfa40
    https://github.com/scummvm/scummvm/commit/c00306c89576e6e82ce9526d8f28965ef10bfa40
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-08-26T03:19:50-07:00

Commit Message:
TSAGE: Minor tweaks to the new code for ANIM_MODE_9

Changed paths:
    engines/tsage/core.cpp



diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index aef9492..3a489e0 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -2265,13 +2265,15 @@ void SceneObject::dispatch() {
 			if (_frame == _endFrame) {
 				if (_frameChange != -1) {
 					_frameChange = -1;
-					_strip = (_strip - 1) ^ 1 + 1;
+					_strip = ((_strip - 1) ^ 1) + 1;
 					_endFrame = 1;
 				} else if ((_field68 == 0) || (--_field68 != 0)) {
 					_frameChange = 1;
 					_endFrame = getFrameCount();
 
 					setFrame(changeFrame());
+				} else {
+					animEnded();
 				}
 			} else {
 				setFrame(changeFrame());






More information about the Scummvm-git-logs mailing list