From bc777403066e7a14b3b25d1ef4cf038723b85a02 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 28 Jun 2010 18:07:40 +0000 Subject: SCI: kAnimate resetting _lastCastCount all the time svn-id: r50453 --- engines/sci/graphics/animate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/graphics/animate.cpp') diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index 6a5bbff6bb..25c0fe6432 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -159,8 +159,8 @@ void GfxAnimate::makeSortedList(List *list) { _lastCastData = (AnimateEntry *)malloc(listCount * sizeof(AnimateEntry)); if (!_lastCastData) error("Could not allocate memory for _lastCastData"); - _lastCastCount = 0; } + _lastCastCount = 0; // Fill the list curAddress = list->first; -- cgit v1.2.3