MOHAWK: Add LB poetry mode logic to updatePage.

svn-id: r55709
This commit is contained in:
Alyssa Milburn 2011-02-01 18:09:01 +00:00
parent 26f5523156
commit ee200c946d

View File

@ -391,6 +391,17 @@ void MohawkEngine_LivingBooks::updatePage() {
case 1:
debug(2, "updatePage() for control page 1 (menu)");
if (_poetryMode) {
for (uint16 i = 0; i < _numPages; i++) {
item = getItemById(1000 + i);
if (item)
item->setVisible(_curSelectedPage == i + 1);
item = getItemById(1100 + i);
if (item)
item->setVisible(_curSelectedPage == i + 1);
}
}
for (uint16 i = 0; i < _numLanguages; i++) {
item = getItemById(100 + i);
if (item)