aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2006-07-06 11:40:50 +0000
committerTravis Howell2006-07-06 11:40:50 +0000
commit41626a6af3b171c427797fdca480305b63890047 (patch)
tree14ae853823e71a3f17422f41c71f474888a5d2ef /engines/scumm
parent4bbdf9daae811be8394818aaea7c659592a33a4e (diff)
downloadscummvm-rg350-41626a6af3b171c427797fdca480305b63890047.tar.gz
scummvm-rg350-41626a6af3b171c427797fdca480305b63890047.tar.bz2
scummvm-rg350-41626a6af3b171c427797fdca480305b63890047.zip
Add cyx's patch for 1513622 - HE: Palette glitch (recent regression)
svn-id: r23376
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 45cd1c804f..1a4c5e3590 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1593,10 +1593,6 @@ int ScummEngine::scummLoop(int delta) {
// that it will be in a different state each time you run the program.
_rnd.getRandomNumber(2);
- if (_game.version <= 6) {
- updatePalette();
- }
-
#ifndef DISABLE_HE
if (_game.heversion >= 90) {
((ScummEngine_v90he *)this)->_moviePlay->handleNextFrame();
@@ -1758,9 +1754,7 @@ load_game:
handleMouseOver(oldEgo != VAR(VAR_EGO));
// Render everything to the screen.
- if (_game.version >= 7) {
- updatePalette();
- }
+ updatePalette();
drawDirtyScreenParts();
// FIXME / TODO: Try to move the following to scummLoop_handleSound or