diff options
Diffstat (limited to '')
-rw-r--r-- | src/render/Renderer.cpp | 2 | ||||
-rw-r--r-- | src/render/Timecycle.h | 3 |
2 files changed, 4 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(); diff --git a/src/render/Timecycle.h b/src/render/Timecycle.h index 60c9e29f..832b36e2 100644 --- a/src/render/Timecycle.h +++ b/src/render/Timecycle.h @@ -173,6 +173,9 @@ public: static int GetFogBlue(void) { return m_nCurrentFogColourBlue; } static int GetFogReduction(void) { return m_FogReduction; } + static int GetBlurRed(void) { return m_fCurrentBlurRed; } + static int GetBlurGreen(void) { return m_fCurrentBlurGreen; } + static int GetBlurBlue(void) { return m_fCurrentBlurBlue; } static int GetWaterRed(void) { return m_fCurrentWaterRed; } static int GetWaterGreen(void) { return m_fCurrentWaterGreen; } static int GetWaterBlue(void) { return m_fCurrentWaterBlue; } |