aboutsummaryrefslogtreecommitdiff
path: root/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'string.cpp')
-rw-r--r--string.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/string.cpp b/string.cpp
index 8b622f1ba8..f57e01dfca 100644
--- a/string.cpp
+++ b/string.cpp
@@ -183,10 +183,7 @@ void Scumm::CHARSET_1() {
int s, i, t, c;
int frme;
Actor *a;
- byte *buffer;
-
- if(_gameId==GID_ZAK256)
- return;
+ byte *buffer;
#if !defined(FULL_THROTTLE)
if (!_haveMsg || (camera._dest.x>>3) != (camera._cur.x>>3) ||
@@ -288,7 +285,10 @@ void Scumm::CHARSET_1() {
}
buffer = charset._buffer + charset._bufPos;
-
+ if(_gameId==GID_ZAK256) {
+ debug(1, "CHARSET_1: %s", buffer);
+ return;
+ }
charset.addLinebreaks(0, buffer,0, t);
_lastXstart = virtscr[0].xstart;