diff options
author | Paweł Kołodziejski | 2002-11-10 17:17:11 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-11-10 17:17:11 +0000 |
commit | 2965bd27086e443018cc9d63ac59befc884eed5b (patch) | |
tree | c63c2f8de934f8ceb7093f8ed96963eba1afff6b /scumm/actor.cpp | |
parent | a413779432b8e0e0c036a0a5c58fd89b82d25b11 (diff) | |
download | scummvm-rg350-2965bd27086e443018cc9d63ac59befc884eed5b.tar.gz scummvm-rg350-2965bd27086e443018cc9d63ac59befc884eed5b.tar.bz2 scummvm-rg350-2965bd27086e443018cc9d63ac59befc884eed5b.zip |
increasing actor palette to 256
svn-id: r5505
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index b2a62b1fa2..7e41ba5798 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1144,8 +1144,14 @@ void Actor::setActorCostume(int c) cost.reset(); } - for (i = 0; i < 32; i++) - palette[i] = 0xFF; + if (_features & GF_AFTER_V7) { + for (i = 0; i < 256; i++) + palette[i] = 0xFF; + } else { + for (i = 0; i < 32; i++) + palette[i] = 0xFF; + } + } void Actor::startWalkActor(int destX, int destY, int dir) |