aboutsummaryrefslogtreecommitdiff
path: root/script_v1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'script_v1.cpp')
-rw-r--r--script_v1.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index edf6ca89e6..c0c6eb4628 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -931,7 +931,7 @@ void Scumm::o5_cursorCommand() {
case 14: /* unk */
getWordVararg(table);
for (i=0; i<16; i++)
- charset._colorMap[i] = _charsetData[string[1].t_charset][i] = table[i];
+ charset._colorMap[i] = _charsetData[string[1].t_charset][i] = (unsigned char)table[i];
break;
}
@@ -1565,7 +1565,7 @@ void Scumm::o5_print() {
}
void Scumm::o5_printEgo() {
- _actorToPrintStrFor = _vars[VAR_EGO];
+ _actorToPrintStrFor = (unsigned char)_vars[VAR_EGO];
decodeParseString();
}
@@ -2142,7 +2142,6 @@ void Scumm::o5_verbOps() {
VerbSlot *vs;
int a,b;
byte *ptr;
- int tempRoom;
verb = getVarOrDirectByte(0x80);