mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 14:14:09 +00:00
Remove console and fix sth
This commit is contained in:
parent
addb701638
commit
1cea84d2b1
3 changed files with 6 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue