This commit is contained in:
Charles 2001-02-22 20:20:01 +00:00
parent f6ec01a950
commit 8b5a2ec0c7
3 changed files with 3 additions and 3 deletions

View file

@ -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