mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 18:14:08 +00:00
SetPosition, part 2
This commit is contained in:
parent
d23b2c423e
commit
52390062b3
14 changed files with 49 additions and 49 deletions
|
@ -116,11 +116,11 @@ SpawnCar(int id)
|
|||
DebugMenuEntrySetAddress(carCol2, &v->m_currentColour2);
|
||||
|
||||
if(CModelInfo::IsBoatModel(id))
|
||||
v->GetPosition() = TheCamera.GetPosition() + TheCamera.GetForward()*15.0f;
|
||||
v->SetPosition(TheCamera.GetPosition() + TheCamera.GetForward()*15.0f);
|
||||
else
|
||||
v->GetPosition() = ThePaths.m_pathNodes[node].pos;
|
||||
v->SetPosition(ThePaths.m_pathNodes[node].pos);
|
||||
|
||||
v->GetPosition().z += 4.0f;
|
||||
v->GetMatrix().GetPosition().z += 4.0f;
|
||||
v->SetOrientation(0.0f, 0.0f, 3.49f);
|
||||
v->SetStatus(STATUS_ABANDONED);
|
||||
v->m_nDoorLock = CARLOCK_UNLOCKED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue