aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2017-11-07 00:03:02 +0000
committerThierry Crozat2018-01-23 02:15:38 +0000
commitaf226daf81b90f72f6812c20263ed61024b91e35 (patch)
tree8f55641049cc403799fdfa29d4b980f5fb420cb3 /engines
parent8a8a0b9d38024dbcf58047766fc0aef817970f89 (diff)
downloadscummvm-rg350-af226daf81b90f72f6812c20263ed61024b91e35.tar.gz
scummvm-rg350-af226daf81b90f72f6812c20263ed61024b91e35.tar.bz2
scummvm-rg350-af226daf81b90f72f6812c20263ed61024b91e35.zip
SUPERNOVA: Fix incorrect delay for message display
The delay was not set, meaning the messages were immediately removed in some cutscenes.
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/supernova.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index fb1e8691b2..3c75e6e9cd 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -593,7 +593,7 @@ void SupernovaEngine::renderMessage(const char *text, MessagePosition position)
}
_messageDisplayed = true;
-// _timer1 = (Common::strnlen(text, BUFSIZ) + 20) * textspeed / 10;
+ _gm->_timer1 = (Common::strnlen(text, 512) + 20) * _textSpeed / 10;
}
void SupernovaEngine::removeMessage() {