aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp2
-rw-r--r--scumm/costume.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 7e41ba5798..5089c2f92f 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1144,7 +1144,7 @@ void Actor::setActorCostume(int c)
cost.reset();
}
- if (_features & GF_AFTER_V7) {
+ if (_vm->_features & GF_AFTER_V7) {
for (i = 0; i < 256; i++)
palette[i] = 0xFF;
} else {
diff --git a/scumm/costume.h b/scumm/costume.h
index 7b2d5cc66d..1d5c58efdc 100644
--- a/scumm/costume.h
+++ b/scumm/costume.h
@@ -82,7 +82,7 @@ public:
int _imgbufoffs;
byte _repcolor;
byte _replen;
- byte _palette[256];
+ byte _palette[32];
void proc6();
void proc5();