aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-10-20 12:14:39 +0000
committerTravis Howell2003-10-20 12:14:39 +0000
commitf83d3bd7008fa27c99704d57173094f85d3e9538 (patch)
treeac8db29f449c9065ad79194f6f92ae8db49ff65b
parent61a27e1b634ebb9f5cd1526c5816ebe5aa5103f9 (diff)
downloadscummvm-rg350-f83d3bd7008fa27c99704d57173094f85d3e9538.tar.gz
scummvm-rg350-f83d3bd7008fa27c99704d57173094f85d3e9538.tar.bz2
scummvm-rg350-f83d3bd7008fa27c99704d57173094f85d3e9538.zip
cumm V1-2 doesn't use textslots, checked against V1 Maniac, V2 Zak disasm.
svn-id: r10912
-rw-r--r--scumm/script_v2.cpp18
1 files changed, 1 insertions, 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) {