diff options
author | aap <aap@papnet.eu> | 2020-06-09 15:50:00 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-14 09:36:30 +0200 |
commit | c7a32bb83d5f5fe58edd9193dd5e6ce74bda092f (patch) | |
tree | 0c8b9b663e8a547c26083dfa5748565dfdc4e084 /src/render | |
parent | script fix (diff) | |
download | re3-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 'src/render')
-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; } |