diff options
author | Johannes Schickel | 2010-10-22 02:10:22 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-10-22 02:10:22 +0000 |
commit | 03e2d54ca7f3d5533cbae376921cf617736caee5 (patch) | |
tree | 989df6c2dc37bd783ad678744a60e446b8b74007 /engines/kyra/animator_v2.cpp | |
parent | 3653613443d8def9ae7f552eb799d1f039fd8097 (diff) | |
download | scummvm-rg350-03e2d54ca7f3d5533cbae376921cf617736caee5.tar.gz scummvm-rg350-03e2d54ca7f3d5533cbae376921cf617736caee5.tar.bz2 scummvm-rg350-03e2d54ca7f3d5533cbae376921cf617736caee5.zip |
KYRA: Adapt Kyra2+3 to use the newly added item type too.
svn-id: r53697
Diffstat (limited to 'engines/kyra/animator_v2.cpp')
-rw-r--r-- | engines/kyra/animator_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator_v2.cpp b/engines/kyra/animator_v2.cpp index 6c4fafa674..b06dffd36f 100644 --- a/engines/kyra/animator_v2.cpp +++ b/engines/kyra/animator_v2.cpp @@ -141,7 +141,7 @@ void KyraEngine_v2::flagAnimObjsSpecialRefresh() { } void KyraEngine_v2::addItemToAnimList(int item) { - assert(item < _itemListSize); + assert(item >= 0 && item < _itemListSize); restorePage3(); |