Skip to content

Commit

Permalink
MOHAWK: Draw LB items in sorted order.
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzie committed Nov 20, 2011
1 parent 98c3f79 commit 40474f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/mohawk/livingbooks.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 40474f0

Please sign in to comment.