diff options
Diffstat (limited to 'engines/neverhood/module1000.cpp')
-rw-r--r-- | engines/neverhood/module1000.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/neverhood/module1000.cpp b/engines/neverhood/module1000.cpp index 22bc5cc108..77620b89ff 100644 --- a/engines/neverhood/module1000.cpp +++ b/engines/neverhood/module1000.cpp @@ -1694,10 +1694,10 @@ Scene1004::Scene1004(NeverhoodEngine *vm, Module *parentModule, int which) if (getGlobalVar(0x0D0A14D10)) { palette2 = new Palette2(_vm, 0xA30BA329); - palette2->addPalette(0xA30BA329, 0, 256, 0); + palette2->addBasePalette(0xA30BA329, 0, 256, 0); } else { palette2 = new Palette2(_vm, 0x50C03005); - palette2->addPalette(0x50C03005, 0, 256, 0); + palette2->addBasePalette(0x50C03005, 0, 256, 0); } _palette = palette2; _palette->usePalette(); @@ -1770,13 +1770,13 @@ void Scene1004::updatePaletteArea() { if (_klayman->getY() < 150) { if (_paletteAreaStatus != 0) { _paletteAreaStatus = 0; - ((Palette2*)_palette)->addPalette(0x406B0D10, 0, 64, 0); + ((Palette2*)_palette)->addBasePalette(0x406B0D10, 0, 64, 0); ((Palette2*)_palette)->startFadeToPalette(12); } } else { if (_paletteAreaStatus != 1) { _paletteAreaStatus = 1; - ((Palette2*)_palette)->addPalette(0x24332243, 0, 64, 0); + ((Palette2*)_palette)->addBasePalette(0x24332243, 0, 64, 0); ((Palette2*)_palette)->startFadeToPalette(12); } } |