aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/console.cpp')
-rw-r--r--engines/m4/console.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp
index 9683f4544e..8476b3ff53 100644
--- a/engines/m4/console.cpp
+++ b/engines/m4/console.cpp
@@ -214,8 +214,11 @@ bool Console::cmdStartConversation(int argc, const char **argv) {
if (argc != 2) {
DebugPrintf("Usage: %s <conversation file name>\n", argv[0]);
return true;
+ } else if (_vm->isM4()) {
+ ((M4Engine *)_vm)->_converse->startConversation(argv[1]);
+ return false;
} else {
- _vm->_converse->startConversation(argv[1]);
+ error("MADS engine does not support conversations yet");
return false;
}
}