This commit is contained in:
Charles 2001-05-22 20:10:02 +00:00
parent cd7e60ae81
commit 5f3c7770a4
4 changed files with 32 additions and 0 deletions

View file

@ -217,3 +217,18 @@ void CNpcDualPlatform::render()
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CRECT *CNpcDualPlatform::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;
}