diff options
author | Alyssa Milburn | 2011-11-26 20:47:02 +0100 |
---|---|---|
committer | Alyssa Milburn | 2011-11-26 20:49:02 +0100 |
commit | 4466b6556a57bd9e43f0690203cfdd0ccdfa2e04 (patch) | |
tree | db21a0a9a18a6724f1440e2eca5c83be6defe0ae | |
parent | 581aca66fa95b9fad693db22e0df5e626b63d80c (diff) | |
download | scummvm-rg350-4466b6556a57bd9e43f0690203cfdd0ccdfa2e04.tar.gz scummvm-rg350-4466b6556a57bd9e43f0690203cfdd0ccdfa2e04.tar.bz2 scummvm-rg350-4466b6556a57bd9e43f0690203cfdd0ccdfa2e04.zip |
MOHAWK: Start the LB load phase at load time.
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp index 14ee03124a..e8232f2583 100644 --- a/engines/mohawk/livingbooks.cpp +++ b/engines/mohawk/livingbooks.cpp @@ -102,6 +102,9 @@ void LBPage::open(Archive *mhk, uint16 baseId) { for (uint32 i = 0; i < _items.size(); i++) _items[i]->init(); + + for (uint32 i = 0; i < _items.size(); i++) + _items[i]->startPhase(0xFFFE); } void LBPage::itemDestroyed(LBItem *item) { @@ -438,9 +441,6 @@ void MohawkEngine_LivingBooks::updatePage() { switch (_phase) { case 0: for (uint32 i = 0; i < _items.size(); i++) - _items[i]->startPhase(0xFFFE); - - for (uint32 i = 0; i < _items.size(); i++) _items[i]->startPhase(0xFFFF); for (uint32 i = 0; i < _items.size(); i++) |