aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/animate.cpp
diff options
context:
space:
mode:
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;