diff options
author | Paul Gilbert | 2007-12-01 23:57:22 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-12-01 23:57:22 +0000 |
commit | 7bc6a3a47a37acabedb57b80f07b1bdce2f90a98 (patch) | |
tree | b06d3962a702b0821827603dbb1c24b5f7ecde59 | |
parent | c43782a5dfbb1e7a14db1fc629330efe59724610 (diff) | |
download | scummvm-rg350-7bc6a3a47a37acabedb57b80f07b1bdce2f90a98.tar.gz scummvm-rg350-7bc6a3a47a37acabedb57b80f07b1bdce2f90a98.tar.bz2 scummvm-rg350-7bc6a3a47a37acabedb57b80f07b1bdce2f90a98.zip |
Changed assert for missing animation to explicitly give the animation Id
svn-id: r29684
-rw-r--r-- | engines/lure/hotspots.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 8bd46dd862..32b6f8d581 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -223,7 +223,8 @@ void Hotspot::setAnimation(uint16 newAnimId) { tempAnim = NULL; else { tempAnim = r.getAnimation(newAnimId); - assert(tempAnim != NULL); + if (tempAnim == NULL) + error("Hotspot %xh tried to set non-existant Animation Id: %xh", _hotspotId, newAnimId); } setAnimation(tempAnim); |