aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2015-01-03 10:25:05 +0100
committerStrangerke2015-01-03 10:25:05 +0100
commit7e45ce9096eb86309e22ec0db966621f9d3b830c (patch)
treee37a0f7cc57ee11564c63a24565a02e51a7670e5 /engines/access
parent022b81bbc3e1cc20b88b6984c3ef94baaadea17f (diff)
downloadscummvm-rg350-7e45ce9096eb86309e22ec0db966621f9d3b830c.tar.gz
scummvm-rg350-7e45ce9096eb86309e22ec0db966621f9d3b830c.tar.bz2
scummvm-rg350-7e45ce9096eb86309e22ec0db966621f9d3b830c.zip
ACCESS: MM - Make cmdTexSpeak game-dependent
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/scripts.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index 2e22d9a2ce..0188457a5a 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -614,14 +614,18 @@ void Scripts::cmdCharSpeak() {
void Scripts::cmdTexSpeak() {
_vm->_screen->_printOrg = _texsOrg;
_vm->_screen->_printStart = _texsOrg;
- _vm->_screen->_maxChars = 20;
+ _vm->_screen->_maxChars = (_vm->getGameID() == GType_MartianMemorandum) ? 23 : 20;
byte v;
Common::String tmpStr = "";
while ((v = _data->readByte()) != 0)
tmpStr += (char)v;
- _vm->_bubbleBox->_bubbleDisplStr = Common::String("JASON");
+ if (_vm->getGameID() == GType_MartianMemorandum)
+ _vm->_bubbleBox->_bubbleDisplStr = Common::String("TEX");
+ else
+ _vm->_bubbleBox->_bubbleDisplStr = Common::String("JASON");
+
_vm->_bubbleBox->placeBubble1(tmpStr);
findNull();
}