This commit is contained in:
parent
c1e613567d
commit
a363e0f2ea
2 changed files with 4 additions and 5 deletions
|
@ -152,7 +152,7 @@ void CNpcFallingHazard::collidedWith( CThing *_thisThing )
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
const CRECT *CNpcFallingHazard::getThinkBBox()
|
/*const CRECT *CNpcFallingHazard::getThinkBBox()
|
||||||
{
|
{
|
||||||
CRECT objThinkBox = getCollisionArea();
|
CRECT objThinkBox = getCollisionArea();
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ const CRECT *CNpcFallingHazard::getThinkBBox()
|
||||||
objThinkBox.y2 = thinkBBox.YMin + 1;
|
objThinkBox.y2 = thinkBBox.YMin + 1;
|
||||||
|
|
||||||
return &objThinkBox;
|
return &objThinkBox;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -179,8 +179,7 @@ void CNpcFallingHazard::setWaypoints( sThingHazard *ThisHazard )
|
||||||
|
|
||||||
DVECTOR startPos;
|
DVECTOR startPos;
|
||||||
startPos.vx = newXPos << 4;
|
startPos.vx = newXPos << 4;
|
||||||
//startPos.vy = newYPos << 4;
|
startPos.vy = newYPos << 4;
|
||||||
startPos.vy = -10;
|
|
||||||
|
|
||||||
Pos = startPos;
|
Pos = startPos;
|
||||||
m_base = Pos;
|
m_base = Pos;
|
||||||
|
|
|
@ -22,7 +22,7 @@ class CNpcFallingHazard : public CNpcHazard
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void init();
|
void init();
|
||||||
virtual CRECT const *getThinkBBox();
|
//virtual CRECT const *getThinkBBox();
|
||||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||||
protected:
|
protected:
|
||||||
void processMovement( int _frames );
|
void processMovement( int _frames );
|
||||||
|
|
Loading…
Add table
Reference in a new issue