This commit is contained in:
parent
01584391c4
commit
d20f856ff4
4 changed files with 32 additions and 0 deletions
|
@ -103,3 +103,18 @@ void CNpcFallingPlatformGenerator::think( int _frames )
|
|||
newPlatform->postInit();
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
const CRECT *CNpcFallingPlatformGenerator::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