diff --git a/source/hazard/hfalling.cpp b/source/hazard/hfalling.cpp index 7cc5f0520..54f0f8bd2 100644 --- a/source/hazard/hfalling.cpp +++ b/source/hazard/hfalling.cpp @@ -152,7 +152,7 @@ void CNpcFallingHazard::collidedWith( CThing *_thisThing ) //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -const CRECT *CNpcFallingHazard::getThinkBBox() +/*const CRECT *CNpcFallingHazard::getThinkBBox() { CRECT objThinkBox = getCollisionArea(); @@ -160,7 +160,7 @@ const CRECT *CNpcFallingHazard::getThinkBBox() objThinkBox.y2 = thinkBBox.YMin + 1; return &objThinkBox; -} +}*/ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -179,8 +179,7 @@ void CNpcFallingHazard::setWaypoints( sThingHazard *ThisHazard ) DVECTOR startPos; startPos.vx = newXPos << 4; - //startPos.vy = newYPos << 4; - startPos.vy = -10; + startPos.vy = newYPos << 4; Pos = startPos; m_base = Pos; diff --git a/source/hazard/hfalling.h b/source/hazard/hfalling.h index bc5e7124e..8b99fc22c 100644 --- a/source/hazard/hfalling.h +++ b/source/hazard/hfalling.h @@ -22,7 +22,7 @@ class CNpcFallingHazard : public CNpcHazard { public: void init(); - virtual CRECT const *getThinkBBox(); + //virtual CRECT const *getThinkBBox(); virtual void setWaypoints( sThingHazard *ThisHazard ); protected: void processMovement( int _frames );