[Scummvm-cvs-logs] scummvm master -> 4e08dc04da97ffe6739a6100e39c6bab4f2717c0

dreammaster dreammaster at scummvm.org
Sat Aug 10 23:38:58 CEST 2013


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:
4e08dc04da TSAGE: Fix for standard screens not showing after an animation ends


Commit: 4e08dc04da97ffe6739a6100e39c6bab4f2717c0
    https://github.com/scummvm/scummvm/commit/4e08dc04da97ffe6739a6100e39c6bab4f2717c0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-08-10T14:37:21-07:00

Commit Message:
TSAGE: Fix for standard screens not showing after an animation ends

Changed paths:
    engines/tsage/ringworld2/ringworld2_logic.cpp



diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index cb28d6d..c407aa2 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -2066,7 +2066,7 @@ void AnimationPlayer::close() {
 
 	_field38 = 0;
 	if (g_globals != NULL)
-		R2_GLOBALS._animationCtr = MAX(R2_GLOBALS._animationCtr, 0);
+		R2_GLOBALS._animationCtr = MAX(R2_GLOBALS._animationCtr - 1, 0);
 }
 
 void AnimationPlayer::rleDecode(const byte *pSrc, byte *pDest, int size) {






More information about the Scummvm-git-logs mailing list