aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v72he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp
index 68b8c2b672..90ee366eec 100644
--- a/scumm/script_v72he.cpp
+++ b/scumm/script_v72he.cpp
@@ -646,7 +646,7 @@ void ScummEngine_v72he::decodeScriptString(byte *dst, bool scriptString) {
dst += sprintf((char *)dst, "%x", args[val++]);
break;
default:
- *dst = '%';
+ *dst++ = '%';
num--;
break;
}