diff options
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index 65073bd970..5359c4e0d5 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -593,8 +593,8 @@ void MohawkEngine_LivingBooks::updatePage() { _items[i]->update(); if (_needsRedraw) { - for (uint16 i = 0; i < _items.size(); i++) - _items[i]->draw(); + for (Common::List<LBItem *>::const_iterator i = _orderedItems.reverse_begin(); i != _orderedItems.end(); --i) + (*i)->draw(); _needsRedraw = false; _needsUpdate = true; |