summaryrefslogtreecommitdiff
path: root/src/hexen/p_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/p_map.c')
-rw-r--r--src/hexen/p_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/p_map.c b/src/hexen/p_map.c
index 11aa23e0..b1c542ca 100644
--- a/src/hexen/p_map.c
+++ b/src/hexen/p_map.c
@@ -661,7 +661,7 @@ boolean PIT_CheckThing(mobj_t * thing)
// Check for special thing
if (thing->flags & MF_SPECIAL)
{
- solid = thing->flags & MF_SOLID;
+ solid = (thing->flags & MF_SOLID) != 0;
if (tmflags & MF_PICKUP)
{ // Can be picked up by tmthing
P_TouchSpecialThing(thing, tmthing); // Can remove thing