diff options
author | johndoe123 | 2011-09-19 14:46:53 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:40 +0200 |
commit | 2f670690bc1febbd402a5743f400c4463af7ebc7 (patch) | |
tree | 095e1504eecbe682838e010fe85349b457fa1181 /engines/neverhood/module2000.cpp | |
parent | fa695229bed037257099e6c082f7e50be1119882 (diff) | |
download | scummvm-rg350-2f670690bc1febbd402a5743f400c4463af7ebc7.tar.gz scummvm-rg350-2f670690bc1febbd402a5743f400c4463af7ebc7.tar.bz2 scummvm-rg350-2f670690bc1febbd402a5743f400c4463af7ebc7.zip |
NEVERHOOD: Add Scene::setPalette for simpled palette creation and use it
Diffstat (limited to 'engines/neverhood/module2000.cpp')
-rw-r--r-- | engines/neverhood/module2000.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/neverhood/module2000.cpp b/engines/neverhood/module2000.cpp index a30bb93541..b2e9a0ef5a 100644 --- a/engines/neverhood/module2000.cpp +++ b/engines/neverhood/module2000.cpp @@ -102,8 +102,7 @@ Scene2001::Scene2001(NeverhoodEngine *vm, Module *parentModule, int which) SetMessageHandler(&Scene2001::handleMessage); setBackground(0xA6417244); - _palette = new Palette(_vm, 0xA6417244); - _palette->usePalette(); + setPalette(0xA6417244); insertMouse433(0x17240A6C); _class401 = insertStaticSprite(0x0D641724, 1100); |