aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 9c6f6d1faf..9d0b95b663 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -2822,10 +2822,10 @@ void Scumm::o6_miscOps()
} else {
setStringVars(0);
- _string[0].charset = args[1];
- _string[0].color = args[2];
- _string[0].xpos = args[3];
- _string[0].ypos = args[4];
+ _string[0].charset = (byte)args[1];
+ _string[0].color = (byte)args[2];
+ _string[0].xpos = args[3];
+ _string[0].ypos = args[4];
addMessageToStack(getStringAddressVar(VAR_STRING2DRAW));
drawDescString();