summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index a057e55b..92e939ad 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -876,7 +876,6 @@ MattRenderScene(void)
// CMattRenderer::ResetRenderStates
CRenderer::ClearForFrame();
// CClock::CalcEnvMapTimeMultiplicator
-//if(gbRenderWater)
CWaterLevel::RenderWater(); // actually CMattRenderer::RenderWater
// CClock::ms_EnvMapTimeMultiplicator = 1.0f;
// cWorldStream::ClearDynamics
@@ -919,11 +918,13 @@ RenderScene_new(void)
}
// TODO
-bool FredIsInFirstPersonCam(void) { return false; }
+bool FredIsInFirstPersonCam(void) { return true; } // this seems to give the best result in all cases
void
RenderEffects_new(void)
{
+ CRenderer::RenderPeds();
+
CShadows::RenderStaticShadows();
// CRenderer::GenerateEnvironmentMap
CShadows::RenderStoredShadows();
@@ -938,10 +939,10 @@ RenderEffects_new(void)
if(gbRenderWorld2)
CRenderer::RenderWorld(2); // transparent
if(gbRenderVehicles)
- CRenderer::RenderVehiclesAndPeds();
+ CRenderer::RenderVehicles();
}else{
if(gbRenderVehicles)
- CRenderer::RenderVehiclesAndPeds();
+ CRenderer::RenderVehicles();
if(gbRenderWorld2)
CRenderer::RenderWorld(2); // transparent
}