aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-08-24 02:15:12 +0000
committerTravis Howell2003-08-24 02:15:12 +0000
commit4b6800fcf9b7b4169ca1dca49b8fda94f53fba7d (patch)
tree5b4def26459a07fdc325ea67f772c2d745f9f9f1 /scumm
parent72bfe15f5037b55fb7601a999f69a6f55943d224 (diff)
downloadscummvm-rg350-4b6800fcf9b7b4169ca1dca49b8fda94f53fba7d.tar.gz
scummvm-rg350-4b6800fcf9b7b4169ca1dca49b8fda94f53fba7d.tar.bz2
scummvm-rg350-4b6800fcf9b7b4169ca1dca49b8fda94f53fba7d.zip
Minor cleanup
svn-id: r9839
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp4
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);