aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator_v3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/animator_v3.cpp')
-rw-r--r--engines/kyra/animator_v3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator_v3.cpp b/engines/kyra/animator_v3.cpp
index 9d6c42f084..70d0df0acd 100644
--- a/engines/kyra/animator_v3.cpp
+++ b/engines/kyra/animator_v3.cpp
@@ -322,7 +322,7 @@ void KyraEngine_v3::updateCharacterAnim(int charId) {
_animObjects[i].needRefresh = true;
}
- obj = deleteAnimListEntry(_animList, obj);
+ _animList = deleteAnimListEntry(_animList, obj);
if (_animList)
_animList = addToAnimListSorted(_animList, obj);
else