diff options
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(); |