This commit is contained in:
Charles 2001-05-16 20:40:52 +00:00
parent a58e5a3455
commit fd9a5d5baf
4 changed files with 33 additions and 0 deletions

View file

@ -71,3 +71,18 @@ void CNpcBigWheelHazard::collidedWith( CThing *_thisThing )
{
// do not collide
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CRECT *CNpcBigWheelHazard::getThinkBBox()
{
CRECT objThinkBox = getCollisionArea();
sBBox &thinkBBox = CThingManager::getThinkBBox();
objThinkBox.x1 = thinkBBox.XMin;
objThinkBox.x2 = thinkBBox.XMax;
objThinkBox.y1 = thinkBBox.YMin;
objThinkBox.y2 = thinkBBox.YMax;
return &objThinkBox;
}