mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
fixed to CAutomobile and friends
This commit is contained in:
1 parent
e6b9c20131
commit
bae3a3e72f
8 files changed
+65
-63
No files matched your search
+2
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user