aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-07-12 22:46:23 +0000
committerMax Horn2003-07-12 22:46:23 +0000
commit7189b0a11ad8b93b40cb4200ee35becf36c07009 (patch)
tree4f464bb20df471f48d5fd3c47fa7e37c5c1cc979
parent66000eccbf7521122111d36d666a0e40ebbe54e7 (diff)
downloadscummvm-rg350-7189b0a11ad8b93b40cb4200ee35becf36c07009.tar.gz
scummvm-rg350-7189b0a11ad8b93b40cb4200ee35becf36c07009.tar.bz2
scummvm-rg350-7189b0a11ad8b93b40cb4200ee35becf36c07009.zip
fix for bug #770311 (at least for V2 games)
svn-id: r8959
-rw-r--r--scumm/script_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 07af801f9b..9ff0224b36 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -917,7 +917,7 @@ void Scumm_v2::o2_doSentence() {
void Scumm_v2::o2_drawSentence() {
ScummVM::Rect sentenceline;
- static char sentence[80];
+ static char sentence[256];
const byte *temp;
int slot = getVerbSlot(VAR(VAR_SENTENCE_VERB),0);
@@ -971,6 +971,7 @@ void Scumm_v2::o2_drawSentence() {
_string[2].xpos = 0;
_string[2].color = 5;
+ sentence[80] = 0;
_messagePtr = (byte*)sentence;
sentenceline.top = virtscr[2].topline;