summaryrefslogtreecommitdiffstats
path: root/src/core/Camera.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-13 14:54:45 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-13 14:54:45 +0100
commit011a9cc775bb37313af2ee6b7af2b84eb00df058 (patch)
treed310b443e28f48b9b39a539bf18d93311a9d58b8 /src/core/Camera.cpp
parentfix save loading, hopefully (diff)
parentremove scriptspath from premake (diff)
downloadre3-011a9cc775bb37313af2ee6b7af2b84eb00df058.tar
re3-011a9cc775bb37313af2ee6b7af2b84eb00df058.tar.gz
re3-011a9cc775bb37313af2ee6b7af2b84eb00df058.tar.bz2
re3-011a9cc775bb37313af2ee6b7af2b84eb00df058.tar.lz
re3-011a9cc775bb37313af2ee6b7af2b84eb00df058.tar.xz
re3-011a9cc775bb37313af2ee6b7af2b84eb00df058.tar.zst
re3-011a9cc775bb37313af2ee6b7af2b84eb00df058.zip
Diffstat (limited to '')
-rw-r--r--src/core/Camera.cpp4
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