mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 12:10:33 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
7d067684ff
39 changed files with 2522 additions and 2721 deletions
|
@ -2401,7 +2401,7 @@ void
|
|||
CPed::Teleport(CVector pos)
|
||||
{
|
||||
CWorld::Remove(this);
|
||||
GetPosition() = pos;
|
||||
SetPosition(pos);
|
||||
bIsStanding = false;
|
||||
m_nPedStateTimer = 0;
|
||||
m_actionX = 0.0f;
|
||||
|
@ -3222,7 +3222,7 @@ CPed::TurnBody(void)
|
|||
bool turnDone = true;
|
||||
|
||||
if (m_pLookTarget) {
|
||||
CVector &lookPos = m_pLookTarget->GetPosition();
|
||||
const CVector &lookPos = m_pLookTarget->GetPosition();
|
||||
|
||||
lookDir = CGeneral::GetRadianAngleBetweenPoints(
|
||||
lookPos.x,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue