Fix typo
This commit is contained in:
parent
6cd4fcf30c
commit
330d717c69
|
@ -1645,7 +1645,7 @@ DIRECTION_45 POSTURE_SOLVER::GetPosture( const VECTOR2I& aP )
|
|||
}
|
||||
else if( diagDirection == m_lastSegDirection )
|
||||
{
|
||||
if( m_direction != straightDirection )
|
||||
if( m_direction != diagDirection )
|
||||
{
|
||||
wxLogTrace( "PNS", "Posture: forcing diagonal => %s", diagDirection.Format() );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue