diff --git a/src/p_map.c b/src/p_map.c
index 62cbf7b77635b8604cd7ecf0ad7f01628e5c976f..342aa0868473944a3cef821957678aefb40ad54d 100644
--- a/src/p_map.c
+++ b/src/p_map.c
@@ -875,7 +875,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
 	{
 		// Doesn't matter what gravity player's following! Just do your stuff in YOUR direction only
 		if (tmthing->eflags & MFE_VERTICALFLIP
-		&& (tmthing->z + tmthing->height + tmthing->momz > thing->z
+		&& (tmthing->z + tmthing->height + tmthing->momz < thing->z
 		 || tmthing->z + tmthing->height + tmthing->momz >= thing->z + thing->height))
 			;
 		else if (!(tmthing->eflags & MFE_VERTICALFLIP)