diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:01:11 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:01:11 +0100 |
commit | 7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba (patch) | |
tree | 62ec5661820665488efe4b68bc915bc5370aa00c /src/core/Camera.cpp | |
parent | Merge branch 'master' of https://github.com/GTAmodding/re3 (diff) | |
download | re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.gz re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.bz2 re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.lz re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.xz re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.zst re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.zip |
Diffstat (limited to 'src/core/Camera.cpp')
-rw-r--r-- | src/core/Camera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Camera.cpp b/src/core/Camera.cpp index b46bd2da..7a831068 100644 --- a/src/core/Camera.cpp +++ b/src/core/Camera.cpp @@ -2212,7 +2212,7 @@ CCamera::StartTransition(int16 newMode) while(deltaBeta < -PI) deltaBeta += 2*PI; deltaBeta = Abs(deltaBeta); - door = FindPlayerPed()->m_vehEnterType; + door = FindPlayerPed()->m_vehDoor; if(deltaBeta > HALFPI){ if(((CPed*)pTargetEntity)->m_carInObjective){ if(((CPed*)pTargetEntity)->m_carInObjective->IsUpsideDown()){ @@ -2293,7 +2293,7 @@ CCamera::StartTransition(int16 newMode) } #endif - door = FindPlayerPed()->m_vehEnterType; + door = FindPlayerPed()->m_vehDoor; if(deltaBeta > HALFPI){ if(((CVehicle*)pTargetEntity)->IsUpsideDown()){ if(door == CAR_DOOR_LF || door == CAR_DOOR_LR) // BUG: game checks LF twice |