diff options
Diffstat (limited to 'engines/draci')
-rw-r--r-- | engines/draci/screen.cpp | 2 | ||||
-rw-r--r-- | engines/draci/script.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/screen.cpp b/engines/draci/screen.cpp index 781147806f..dbdbf15701 100644 --- a/engines/draci/screen.cpp +++ b/engines/draci/screen.cpp @@ -66,7 +66,7 @@ void Screen::setPalette(byte *data, uint16 start, uint16 num) { pal.seek(start * 4); // Copy the palette - for (unsigned int i = start; i < start + num; ++i) { + for (uint16 i = start; i < start + num; ++i) { _palette[i * 4] = pal.readByte(); _palette[i * 4 + 1] = pal.readByte(); _palette[i * 4 + 2] = pal.readByte(); diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp index db5cb80a20..9160b92c18 100644 --- a/engines/draci/script.cpp +++ b/engines/draci/script.cpp @@ -219,7 +219,7 @@ int Script::funcRandom(int n) { } int Script::funcAtBegin(int yesno) { - return _vm->_game->isDialogueBegin() == yesno; + return _vm->_game->isDialogueBegin() == (bool)yesno; } int Script::funcLastBlock(int blockID) { |