From f83d3bd7008fa27c99704d57173094f85d3e9538 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 20 Oct 2003 12:14:39 +0000 Subject: cumm V1-2 doesn't use textslots, checked against V1 Maniac, V2 Zak disasm. svn-id: r10912 --- scumm/script_v2.cpp | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 4259405058..7a1e5e51ae 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -408,10 +408,7 @@ void ScummEngine_v2::decodeParseString() { } *ptr = 0; - // For now, always use textSlot 0. Not sure if there are any situations where we might - // need to us another one? int textSlot = 0; - _string[textSlot].xpos = 0; _string[textSlot].ypos = 0; _string[textSlot].right = 320; @@ -428,20 +425,7 @@ void ScummEngine_v2::decodeParseString() { } _messagePtr = buffer; - switch (textSlot) { - case 0: - actorTalk(); - break; - case 1: - drawString(1); - break; - case 2: - unkMessage1(); - break; - case 3: - unkMessage2(); - break; - } + actorTalk(); } int ScummEngine_v2::readVar(uint var) { -- cgit v1.2.3