At line 167, see TickFollowPlayer() isn't even called if the wolf is sitting. m_bMovingToDest is set to true by MoveToPos. m_bMovingToDest is set to false at 171, if the wolf is sitting.

:D