summaryrefslogtreecommitdiffstats
path: root/src/render/Renderer.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-14 23:26:27 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-14 23:26:27 +0200
commitef4c8f53c5d43cc3ea36b383bf7810acf96fe14f (patch)
treefbbefd0d2224a021a383e74f805c3c322473ff42 /src/render/Renderer.cpp
parentmuch better mission switcher (diff)
parentsome more camera stuff (diff)
downloadre3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar
re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.gz
re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.bz2
re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.lz
re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.xz
re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.tar.zst
re3-ef4c8f53c5d43cc3ea36b383bf7810acf96fe14f.zip
Diffstat (limited to 'src/render/Renderer.cpp')
-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();