diff options
author | Martin Kiewitz | 2010-06-28 18:07:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-28 18:07:40 +0000 |
commit | bc777403066e7a14b3b25d1ef4cf038723b85a02 (patch) | |
tree | 2ebf80830e274cab96cd079de35b792c9d417e5a /engines | |
parent | a0f42b07ceb836226521fbf90feb50fb470d8ad8 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/sci/graphics/animate.cpp | 2 |
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; |