This commit is contained in:
parent
13cca1815f
commit
a01a13d45b
4 changed files with 11 additions and 1 deletions
|
@ -520,6 +520,13 @@ void CNpcEnemy::setupWaypoints( sThingActor *ThisActor )
|
|||
setHeading( newXPos, newYPos );
|
||||
}
|
||||
|
||||
setThinkArea();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CNpcEnemy::setThinkArea()
|
||||
{
|
||||
s32 minX, maxX, minY, maxY;
|
||||
|
||||
m_npcPath.getPathXExtents( &minX, &maxX );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue