aboutsummaryrefslogtreecommitdiff
path: root/costume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'costume.cpp')
-rw-r--r--costume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/costume.cpp b/costume.cpp
index c9e3e948b0..621c941377 100644
--- a/costume.cpp
+++ b/costume.cpp
@@ -291,7 +291,7 @@ byte CostumeRenderer::mainRoutine(Actor *a, int slot, int frame)
masking = 0;
if (_vm->_features & GF_SMALL_HEADER)
- masking = _zbuf;
+ masking = (_zbuf != 0);
else
masking =
_vm->isMaskActiveAt(_left, _top, _right, _bottom,