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

This commit is contained in:
Paul Gilbert 2013-08-10 17:37:21 -04:00
parent e209e15833
commit 4e08dc04da

View File

@ -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) {