This commit is contained in:
Charles 2001-05-25 19:15:18 +00:00
parent c1e613567d
commit a363e0f2ea
2 changed files with 4 additions and 5 deletions

View file

@ -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;

View file

@ -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 );