summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-09 15:50:00 +0200
committeraap <aap@papnet.eu>2020-06-14 09:36:30 +0200
commitc7a32bb83d5f5fe58edd9193dd5e6ce74bda092f (patch)
tree0c8b9b663e8a547c26083dfa5748565dfdc4e084 /src/render/Renderer.cpp
parentscript fix (diff)
downloadre3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.gz
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.bz2
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.lz
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.xz
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.tar.zst
re3-c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f.zip
Diffstat (limited to '')
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 98dce4ac..becac84d 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -357,7 +357,7 @@ CRenderer::SetupEntityVisibility(CEntity *ent)
if(mi->GetModelType() != MITYPE_SIMPLE && mi->GetModelType() != MITYPE_WEAPON){
if(FindPlayerVehicle() == ent &&
TheCamera.Cams[TheCamera.ActiveCam].Mode == CCam::MODE_1STPERSON &&
- !(FindPlayerVehicle()->IsBike() && ((CBike*)FindPlayerVehicle())->m_bike_flag80)){
+ !(FindPlayerVehicle()->IsBike() && ((CBike*)FindPlayerVehicle())->bWheelieCam)){
// Player's vehicle in first person mode
CVehicle *veh = (CVehicle*)ent;
int model = veh->GetModelIndex();