This commit is contained in:
parent
5177f930ff
commit
80ada6fdbb
4 changed files with 6 additions and 6 deletions
|
@ -79,7 +79,7 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing )
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*const CRECT *CNpcBigWheelHazard::getThinkBBox()
|
||||
const CRECT *CNpcBigWheelHazard::getThinkBBox()
|
||||
{
|
||||
CRECT objThinkBox = getCollisionArea();
|
||||
|
||||
|
@ -90,4 +90,4 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing )
|
|||
objThinkBox.y2 = thinkBBox.YMax;
|
||||
|
||||
return &objThinkBox;
|
||||
}*/
|
||||
}
|
|
@ -23,7 +23,7 @@ class CNpcBigWheelHazard : public CNpcHazard
|
|||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
//virtual CRECT const *getThinkBBox();
|
||||
virtual CRECT const *getThinkBBox();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
|
|
@ -98,7 +98,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*const CRECT *CNpcBigWheelPlatform::getThinkBBox()
|
||||
const CRECT *CNpcBigWheelPlatform::getThinkBBox()
|
||||
{
|
||||
CRECT objThinkBox = getCollisionArea();
|
||||
|
||||
|
@ -109,7 +109,7 @@ void CNpcBigWheelPlatform::setWaypoints( sThingPlatform *ThisPlatform )
|
|||
objThinkBox.y2 = thinkBBox.YMax;
|
||||
|
||||
return &objThinkBox;
|
||||
}*/
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
class CNpcBigWheelPlatform : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
//virtual CRECT const *getThinkBBox();
|
||||
virtual CRECT const *getThinkBBox();
|
||||
virtual void postInit();
|
||||
virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
|
||||
protected:
|
||||
|
|
Loading…
Add table
Reference in a new issue