This commit is contained in:
Charles 2001-05-25 16:27:06 +00:00
parent abd8dabd8e
commit f3256cfced
2 changed files with 16 additions and 0 deletions

View file

@ -709,3 +709,18 @@ void CNpcSeaSnakeEnemy::processShot( int _frames )
m_controlFunc = NPC_CONTROL_MOVEMENT;
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CRECT *CNpcSeaSnakeEnemy::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;
}