diff options
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r-- | scumm/costume.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index d47dff5bb7..c225314cc5 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -740,9 +740,7 @@ void CostumeRenderer::setPalette(byte *palette) { byte color; if (_loaded._format == 0x57) { - for (i = 0; i < 14; i++) { - _palette[i] = palette[i]; - } + memcpy(_palette, palette, 13); } else if (_vm->_features & GF_OLD_BUNDLE) { if ((_vm->VAR(_vm->VAR_CURRENT_LIGHTS) & LIGHTMODE_actor_color)) { memcpy(_palette, palette, 16); |