mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 07:46:37 +03:00
fixed to CAutomobile and friends
This commit is contained in:
parent
e6b9c20131
commit
bae3a3e72f
8 changed files with 65 additions and 63 deletions
|
@ -3792,7 +3792,7 @@ CCam::Process_Debug(const CVector&, float, float, float)
|
|||
if(FindPlayerVehicle())
|
||||
FindPlayerVehicle()->Teleport(Source);
|
||||
else
|
||||
CWorld::Players[CWorld::PlayerInFocus].m_pPed->SetPosition(Source);
|
||||
CWorld::Players[CWorld::PlayerInFocus].m_pPed->SetPosition(Source);
|
||||
}
|
||||
|
||||
// stay inside sectors
|
||||
|
@ -3859,8 +3859,7 @@ CCam::Process_Debug(const CVector&, float, float, float)
|
|||
if(FindPlayerVehicle())
|
||||
FindPlayerVehicle()->Teleport(Source);
|
||||
else
|
||||
CWorld::Players[CWorld::PlayerInFocus].m_pPed->GetPosition() = Source;
|
||||
|
||||
CWorld::Players[CWorld::PlayerInFocus].m_pPed->SetPosition(Source);
|
||||
}
|
||||
|
||||
// stay inside sectors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue