aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index 1e910c8423..a4b3b8d1a4 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -310,7 +310,7 @@ byte CostumeRenderer::mainRoutine(int slot, int frame) {
return b;
}
- switch ((newAmiCost << 3) | (scaling << 2) | (masking << 1) | charsetmask) {
+ switch ((newAmiCost << 3) | (scaling << 2) | (masking << 1) | (charsetmask ? 1 : 0)) {
case 0:
proc6(); // no scaling, no masking, no charsetmask
break;