diff options
author | Johannes Schickel | 2011-02-15 22:14:23 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-02-15 22:16:48 +0100 |
commit | 83f66284a71b496f761b06d675dd9637d863809f (patch) | |
tree | cfde23e57dbc582180f679352ea722bd958f34d1 /engines/sword1/animation.cpp | |
parent | 2e9bf212e889de78c66d9c4e3564327727389e6e (diff) | |
download | scummvm-rg350-83f66284a71b496f761b06d675dd9637d863809f.tar.gz scummvm-rg350-83f66284a71b496f761b06d675dd9637d863809f.tar.bz2 scummvm-rg350-83f66284a71b496f761b06d675dd9637d863809f.zip |
SWORD1: Adapt to setPalette RGBA->RGB change.
Diffstat (limited to 'engines/sword1/animation.cpp')
-rw-r--r-- | engines/sword1/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index fa876b565f..60176be1a9 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -174,7 +174,7 @@ void MoviePlayer::play() { // previous location would be momentarily drawn, before switching to // the new one. Work around this by setting the palette to black. - byte pal[4 * 256]; + byte pal[3 * 256]; memset(pal, 0, sizeof(pal)); _system->getPaletteManager()->setPalette(pal, 0, 256); } |