mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-15 00:37:09 +00:00
Don't set camera parent
This commit is contained in:
parent
7a6c6b4aa8
commit
c3bd5362d5
1 changed files with 0 additions and 7 deletions
|
@ -70,13 +70,6 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
|||
|
||||
m_model.VehicleParentOffset = Vector3.zero;
|
||||
|
||||
// change camera parent
|
||||
if (m_ped.IsControlledByLocalPlayer) {
|
||||
if (m_ped.Camera != null) {
|
||||
m_ped.Camera.transform.SetParent (null, true);
|
||||
}
|
||||
}
|
||||
|
||||
// switch to stand state
|
||||
m_ped.SwitchState<StandState> ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue