diff options
author | Eugene Sandulenko | 2005-10-05 01:40:55 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-10-05 01:40:55 +0000 |
commit | 8912fcb8055b442607ef679548427db22ce8c649 (patch) | |
tree | 653e882ce22d8cd4cd10d00e1f2a19aacf981c7f /saga/scene.cpp | |
parent | 579478a586b6d6c51bd5f652def24b362251d082 (diff) | |
download | scummvm-rg350-8912fcb8055b442607ef679548427db22ce8c649.tar.gz scummvm-rg350-8912fcb8055b442607ef679548427db22ce8c649.tar.bz2 scummvm-rg350-8912fcb8055b442607ef679548427db22ce8c649.zip |
Simplified palette code.
svn-id: r18936
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r-- | saga/scene.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp index 0ce7ee17ac..dd58ba67cb 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -447,10 +447,7 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy cPal[j].blue = *pal++; } free(colors); - if (_vm->getGameType() == GType_IHNM) - _vm->_gfx->setPalette(cPal, 0, 248); - else - _vm->_gfx->setPalette(cPal); + _vm->_gfx->setPalette(cPal); } @@ -1135,10 +1132,7 @@ void Scene::processSceneResources() { pal[c].green = *palPtr++; pal[c].blue = *palPtr++; } - if (_vm->getGameType() == GType_IHNM) - _vm->_gfx->setPalette(pal, 0, 248); - else - _vm->_gfx->setPalette(pal); + _vm->_gfx->setPalette(pal); } break; default: |