Remove console and fix sth

This commit is contained in:
eray orçunus
2020-07-04 16:00:41 +03:00
parent addb701638
commit 1cea84d2b1
3 changed files with 6 additions and 2 deletions

View File

@ -4359,7 +4359,7 @@ CPed::RestorePreviousState(void)
case PED_WANDER_PATH:
m_nPedState = PED_WANDER_PATH;
bIsRunning = false;
if (!bFindNewNodeAfterStateRestore) {
if (bFindNewNodeAfterStateRestore) {
if (m_pNextPathNode) {
CVector diff = m_pNextPathNode->GetPosition() - GetPosition();
if (diff.MagnitudeSqr() < sq(7.0f)) {