This commit is contained in:
parent
5298e61a8a
commit
42ff0b1392
7 changed files with 40 additions and 2 deletions
|
@ -25,4 +25,19 @@ void CNpcBubblePlatform::processMovement( int _frames )
|
|||
{
|
||||
setToShutdown();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
const CRECT *CNpcBubblePlatform::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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue