diff options
-rw-r--r-- | scumm/script_v2.cpp | 8 | ||||
-rw-r--r-- | scumm/string.cpp | 2 |
2 files changed, 5 insertions, 5 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(); diff --git a/scumm/string.cpp b/scumm/string.cpp index 5612a17a5b..060e4efd71 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -631,7 +631,7 @@ void Scumm::drawString(int a) charset._left -= charset.getStringWidth(a, buf, 0) >> 1; } - if (!_features & GF_AFTER_V7) + if (!(_features & GF_AFTER_V7)) charset._ignoreCharsetMask = 1; |