aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-30 12:09:03 +0000
committerJohannes Schickel2009-03-30 12:09:03 +0000
commita619443dbc2124d7a40a976c901226931b1f7db5 (patch)
tree42bb985fd61a99f00174ca01db2f4acc595abdaa /engines/parallaction
parent0ea7589e2ca4fce7dd07e9e757b8527652e2ac58 (diff)
downloadscummvm-rg350-a619443dbc2124d7a40a976c901226931b1f7db5.tar.gz
scummvm-rg350-a619443dbc2124d7a40a976c901226931b1f7db5.tar.bz2
scummvm-rg350-a619443dbc2124d7a40a976c901226931b1f7db5.zip
PARALLACTION: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
svn-id: r39760
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/objects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index c6ebeb7850..e4f93c299a 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -251,7 +251,7 @@ struct TypeData {
#define ACTIONTYPE(z) ((z)->_type & 0xFFFF)
#define ITEMTYPE(z) ((z)->_type & 0xFFFF0000)
-#define PACK_ZONETYPE(zt,it) ((zt) & 0xFFFF | (((it) & 0xFFFF) << 16))
+#define PACK_ZONETYPE(zt,it) (((zt) & 0xFFFF) | (((it) & 0xFFFF) << 16))
#define ZONENAME_LENGTH 32