fix for bug #770311 (at least for V2 games)

svn-id: r8959
This commit is contained in:
Max Horn 2003-07-12 22:46:23 +00:00
parent 66000eccbf
commit 7189b0a11a

View file

@ -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;