aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/livingbooks.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2011-11-20 20:24:51 +0100
committerAlyssa Milburn2011-11-20 20:24:51 +0100
commit528c1173d7b9d15d9b7e36f25a876c8952357f26 (patch)
treea4b339bc46d0b9dc5ae948240aa70c9e8c6c572e /engines/mohawk/livingbooks.cpp
parent383b307f699b97354aba7ea72e81c76b7d168eb1 (diff)
downloadscummvm-rg350-528c1173d7b9d15d9b7e36f25a876c8952357f26.tar.gz
scummvm-rg350-528c1173d7b9d15d9b7e36f25a876c8952357f26.tar.bz2
scummvm-rg350-528c1173d7b9d15d9b7e36f25a876c8952357f26.zip
MOHAWK: Implement kLBOpLoad, kLBOpUnload.
Diffstat (limited to 'engines/mohawk/livingbooks.cpp')
-rw-r--r--engines/mohawk/livingbooks.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 078227d0d3..8b01489497 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -2844,9 +2844,7 @@ int LBItem::runScriptEntry(LBScriptEntry *entry) {
break;
case kLBOpLoad:
- // FIXME
- warning("ignoring kLBOpLoad (event 0x%04x, param 0x%04x, target '%s')",
- entry->event, entry->param, target->_desc.c_str());
+ target->load();
break;
case kLBOpPreload:
@@ -2856,9 +2854,7 @@ int LBItem::runScriptEntry(LBScriptEntry *entry) {
break;
case kLBOpUnload:
- // FIXME
- warning("ignoring kLBOpUnload (event 0x%04x, param 0x%04x, target '%s')",
- entry->event, entry->param, target->_desc.c_str());
+ target->unload();
break;
case kLBOpSeekToPrev: