mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 08:56:38 +03:00
SetPosition, part 2
This commit is contained in:
parent
d23b2c423e
commit
52390062b3
14 changed files with 49 additions and 49 deletions
|
@ -3794,7 +3794,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
|
||||
|
@ -3941,7 +3941,7 @@ CCam::Process_Editor(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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue