aboutsummaryrefslogtreecommitdiff
path: root/engines/access/scripts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/scripts.cpp')
-rw-r--r--engines/access/scripts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index f781ec14d0..f91b49c9ef 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -117,7 +117,7 @@ void Scripts::executeCommand(int commandIndex) {
}
void Scripts::CMDOBJECT() {
- _vm->_room->_bubbleBox.load(_data);
+ _vm->_bubbleBox->load(_data);
}
void Scripts::CMDENDOBJECT() { error("TODO ENDOBJECT"); }
@@ -176,7 +176,7 @@ void Scripts::cmdPrint() {
_vm->_timers[PRINT_TIMER]._initTm = 50;
_vm->_timers[PRINT_TIMER]._flag = true;
- _vm->_room->placeBubble();
+ _vm->_bubbleBox->placeBubble();
_vm->_events->waitKeyMouse();
while (_vm->_timers[PRINT_TIMER]._flag) {