aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-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) {