diff options
Diffstat (limited to 'engines/access/scripts.cpp')
-rw-r--r-- | engines/access/scripts.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp index 1e055e45b9..c1f21680e0 100644 --- a/engines/access/scripts.cpp +++ b/engines/access/scripts.cpp @@ -306,10 +306,9 @@ void Scripts::cmdPrint_v2() { printString(msg); } -void Scripts::cmdPrint_v1() { +void Scripts::doCmdPrint_v1(Common::String msg) { _vm->_screen->_printOrg = Common::Point(20, 42); _vm->_screen->_printStart = Common::Point(20, 32); - Common::String msg = readString(); _vm->_bubbleBox->placeBubble(msg); _vm->_events->waitKeyMouse(); _vm->_events->hideCursor(); @@ -318,6 +317,11 @@ void Scripts::cmdPrint_v1() { findNull(); } +void Scripts::cmdPrint_v1() { + Common::String msg = readString(); + doCmdPrint_v1(msg); +} + void Scripts::printString(const Common::String &msg) { if (_vm->getGameID() != GType_MartianMemorandum) { _vm->_screen->_printOrg = Common::Point(20, 42); |