From 45b2698b247de6d021effefa68ca51314cf0e6e8 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 14 May 2003 13:32:43 +0000 Subject: cleanup svn-id: r7503 --- scumm/script_v2.cpp | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'scumm/script_v2.cpp') 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) { -- cgit v1.2.3