diff options
author | Max Horn | 2004-09-21 13:54:30 +0000 |
---|---|---|
committer | Max Horn | 2004-09-21 13:54:30 +0000 |
commit | 2f9ea12ddd9901eaacd46de7a3062375ec4439b3 (patch) | |
tree | 3bd0a7c7d723c27ba268afc5211e5fbb1ea872ff /scumm/akos.cpp | |
parent | 5f0ec872e04dbd8c5fb491be4a56802d522d6704 (diff) | |
download | scummvm-rg350-2f9ea12ddd9901eaacd46de7a3062375ec4439b3.tar.gz scummvm-rg350-2f9ea12ddd9901eaacd46de7a3062375ec4439b3.tar.bz2 scummvm-rg350-2f9ea12ddd9901eaacd46de7a3062375ec4439b3.zip |
cleanup
svn-id: r15224
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 3dd0c35fcd..f98f4892be 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -289,17 +289,15 @@ void ScummEngine::akos_decodeData(Actor *a, int frame, uint usemask) { } void AkosRenderer::setPalette(byte *new_palette) { - const byte *the_akpl; uint size, i; - the_akpl = _vm->findResourceData(MKID('AKPL'), akos); size = _vm->getResourceDataSize(akpl); if (size > 256) error("akos_setPalette: %d is too many colors", size); for (i = 0; i < size; i++) { - palette[i] = new_palette[i] != 0xFF ? new_palette[i] : the_akpl[i]; + palette[i] = new_palette[i] != 0xFF ? new_palette[i] : akpl[i]; } if (_vm->_heversion == 70 && size) { |