aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/animate.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-28 18:07:40 +0000
committerMartin Kiewitz2010-06-28 18:07:40 +0000
commitbc777403066e7a14b3b25d1ef4cf038723b85a02 (patch)
tree2ebf80830e274cab96cd079de35b792c9d417e5a /engines/sci/graphics/animate.cpp
parenta0f42b07ceb836226521fbf90feb50fb470d8ad8 (diff)
downloadscummvm-rg350-bc777403066e7a14b3b25d1ef4cf038723b85a02.tar.gz
scummvm-rg350-bc777403066e7a14b3b25d1ef4cf038723b85a02.tar.bz2
scummvm-rg350-bc777403066e7a14b3b25d1ef4cf038723b85a02.zip
SCI: kAnimate resetting _lastCastCount all the time
svn-id: r50453
Diffstat (limited to 'engines/sci/graphics/animate.cpp')
-rw-r--r--engines/sci/graphics/animate.cpp2
1 files changed, 1 insertions, 1 deletions
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;