diff options
author | Denis Kasak | 2009-07-07 15:39:18 +0000 |
---|---|---|
committer | Denis Kasak | 2009-07-07 15:39:18 +0000 |
commit | c258eefc82517274f2b98fd13e4959686ba9e4a5 (patch) | |
tree | 2187ad01a5f731f193ecfe3f2aeba67bc6a6a8a0 | |
parent | d519626c55831653c9a595822f502f84a1e51c9c (diff) | |
download | scummvm-rg350-c258eefc82517274f2b98fd13e4959686ba9e4a5.tar.gz scummvm-rg350-c258eefc82517274f2b98fd13e4959686ba9e4a5.tar.bz2 scummvm-rg350-c258eefc82517274f2b98fd13e4959686ba9e4a5.zip |
Made AnimationManager::getAnimation() return NULL when an animation is not found instead of Common::List<>::end().
svn-id: r42228
-rw-r--r-- | engines/draci/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp index cfc6619c80..09ee48ab55 100644 --- a/engines/draci/animation.cpp +++ b/engines/draci/animation.cpp @@ -174,7 +174,7 @@ Animation *AnimationManager::getAnimation(int id) { } } - return *_animations.end(); + return NULL; } void AnimationManager::insertAnimation(Animation *animObj) { |