This commit is contained in:
parent
5303d885ae
commit
9e5599bce1
1 changed files with 10 additions and 0 deletions
|
@ -95,6 +95,16 @@ void CNpcConveyorPlatform::postInit()
|
|||
|
||||
m_spinFinish = false;
|
||||
m_rotation = 0;
|
||||
|
||||
s32 minX, maxX, minY, maxY;
|
||||
|
||||
m_npcPath.getPathXExtents( &minX, &maxX );
|
||||
m_npcPath.getPathYExtents( &minY, &maxY );
|
||||
|
||||
m_thinkArea.x1 = minX;
|
||||
m_thinkArea.x2 = maxX;
|
||||
m_thinkArea.y1 = minY;
|
||||
m_thinkArea.y2 = maxY;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue