aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-12 21:50:28 +0000
committerMax Horn2003-05-12 21:50:28 +0000
commit0e226588f11d9a122b5ba09b5b577a3c46e735d3 (patch)
treea7ce863f05b742ff783b19dc4f3047331420596d
parentb2d7f502f6d2ce3564d2cf25b65bc98964866370 (diff)
downloadscummvm-rg350-0e226588f11d9a122b5ba09b5b577a3c46e735d3.tar.gz
scummvm-rg350-0e226588f11d9a122b5ba09b5b577a3c46e735d3.tar.bz2
scummvm-rg350-0e226588f11d9a122b5ba09b5b577a3c46e735d3.zip
fixed another VC warning
svn-id: r7479
-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;