From 5fda179739f0a226c2a09cd88000831d7d6d6a55 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 9 Aug 2001 18:04:47 +0000 Subject: [PATCH] --- source/platform/platform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platform/platform.cpp b/source/platform/platform.cpp index 9e356e163..766eb79d6 100644 --- a/source/platform/platform.cpp +++ b/source/platform/platform.cpp @@ -1089,7 +1089,7 @@ u8 CNpcPlatform::checkCollisionDelta( CThing *_thisThing, int threshold, CRECT c if ( otherCollisionArea.x2 >= collisionArea.x1 && otherCollisionArea.x1 <= collisionArea.x2 ) { //if ( oldYPos < collisionArea.y1 + threshold ) //&& otherPos.vy > oldCollisionY ) - if ( getHeightFromPlatformAtPosition( oldXPos, oldYPos, -posDelta.vx, -posDelta.vy ) > 0 ) + if ( getHeightFromPlatformAtPosition( oldXPos, oldYPos, -posDelta.vx, -posDelta.vy ) >= 0 ) { // if object's old position was above old platform collision area, // but is now below current platform collision area, we can assume