This commit is contained in:
parent
f6ec01a950
commit
8b5a2ec0c7
3 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ void CNpc::processGenericFixedPathWalk( int _frames, s32 *moveX, s32 *moveY, s32
|
|||
|
||||
// ignore y component of waypoint, since we are stuck to the ground
|
||||
|
||||
if ( m_npcPath.think2D( Pos, &distX, &distY, heading ) )
|
||||
if ( m_npcPath.thinkFlat( Pos, &distX, &distY, heading ) )
|
||||
{
|
||||
// path has finished, waypoint has changed, or there are no waypoints - do not move horizontally
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue