aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r--scumm/script_v6.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 33f5e67919..a0188bb7ba 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2438,7 +2438,12 @@ void Scumm_v6::o6_kernelSetFunctions() {
while (true) {
if (*t_ptr == '/') {
translateText((byte *)t_ptr, buf_trans);
- strcat((char *)buf_output, (char *)buf_trans);
+ // hack
+ if (strstr((char *)buf_trans, "%___") != 0) {
+ strcat((char *)buf_output, " ");
+ } else {
+ strcat((char *)buf_output, (char *)buf_trans);
+ }
}
t_ptr = strchr((char *)t_ptr + 1, '/');
if (t_ptr == NULL)