diff options
author | Travis Howell | 2003-10-13 11:38:41 +0000 |
---|---|---|
committer | Travis Howell | 2003-10-13 11:38:41 +0000 |
commit | ea510ef616c2da4cb9712ce6fa98733636491c54 (patch) | |
tree | ce8052a0562025e881c6f52cc89d3baf5a29ce52 /scumm | |
parent | b8aaf9549ff5c47611613ad4cd05d63645b39d42 (diff) | |
download | scummvm-rg350-ea510ef616c2da4cb9712ce6fa98733636491c54.tar.gz scummvm-rg350-ea510ef616c2da4cb9712ce6fa98733636491c54.tar.bz2 scummvm-rg350-ea510ef616c2da4cb9712ce6fa98733636491c54.zip |
_roomPalette needs to be reset for all scumm games now.
Otherwise get blank screen in dig/ft/comi.
svn-id: r10775
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index a15edbee18..d6e6a1a5db 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1890,14 +1890,13 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) { _actors[i].hideActor(); } - if (_version < 7) { - for (i = 0; i < 256; i++) { - _roomPalette[i] = i; + for (i = 0; i < 256; i++) { + _roomPalette[i] = i; + if (_version < 7) _shadowPalette[i] = i; - } - if (_features & GF_SMALL_HEADER) - setDirtyColors(0, 255); } + if (_features & GF_SMALL_HEADER) + setDirtyColors(0, 255); clearDrawObjectQueue(); |