mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 11:35:54 +00:00
fix
This commit is contained in:
parent
fb80236214
commit
e2c29a3b28
|
@ -386,7 +386,7 @@ bool CPedAttractor::BroadcastDeparture(CPed* pPed)
|
|||
else if (qid == vWaitingQueue.size() - 1)
|
||||
pPed->SetWanderPath(CGeneral::GetNodeHeadingFromVector(-vecQueueDir.x, -vecQueueDir.y));
|
||||
else
|
||||
pPed->SetWanderPath(CGeneral::GetNodeHeadingFromVector(-vecQueueDir.y, -vecQueueDir.z));
|
||||
pPed->SetWanderPath(CGeneral::GetNodeHeadingFromVector(-vecQueueDir.y, -vecQueueDir.x));
|
||||
UpdatePedStateOnDeparture(pPed);
|
||||
}
|
||||
vWaitingQueue.erase(vWaitingQueue.cbegin() + qid);
|
||||
|
|
Loading…
Reference in a new issue