aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-14 13:32:43 +0000
committerMax Horn2003-05-14 13:32:43 +0000
commit45b2698b247de6d021effefa68ca51314cf0e6e8 (patch)
tree88c79ca407dc603e543259341e072e0276c3f8c7
parentbc99915aa50dd58a4ab37f810e1df2c40acd4086 (diff)
downloadscummvm-rg350-45b2698b247de6d021effefa68ca51314cf0e6e8.tar.gz
scummvm-rg350-45b2698b247de6d021effefa68ca51314cf0e6e8.tar.bz2
scummvm-rg350-45b2698b247de6d021effefa68ca51314cf0e6e8.zip
cleanup
svn-id: r7503
-rw-r--r--scumm/script_v2.cpp21
1 files changed, 3 insertions, 18 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index a59a0b3726..6ecbc417ef 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -396,14 +396,9 @@ void Scumm_v2::decodeParseString() {
printf("TODO: Scumm_v2::decodeParseString(\"%s\") from %d\n", buffer, vm.slot[_currentScript].number);
- int textSlot;
-
- if (_actorToPrintStrFor < 128)
- textSlot = 0;
- else
- textSlot = 1;
-
- textSlot = 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;
@@ -427,16 +422,6 @@ void Scumm_v2::decodeParseString() {
unkMessage2();
break;
}
-
-/*
- _string[textSlot].t_xpos = _string[textSlot].xpos;
- _string[textSlot].t_ypos = _string[textSlot].ypos;
- _string[textSlot].t_center = _string[textSlot].center;
- _string[textSlot].t_overhead = _string[textSlot].overhead;
- _string[textSlot].t_right = _string[textSlot].right;
- _string[textSlot].t_color = _string[textSlot].color;
- _string[textSlot].t_charset = _string[textSlot].charset;
-*/
}
int Scumm_v2::readVar(uint var) {