From 4b6800fcf9b7b4169ca1dca49b8fda94f53fba7d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 24 Aug 2003 02:15:12 +0000 Subject: Minor cleanup svn-id: r9839 --- scumm/costume.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scumm') 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); -- cgit v1.2.3