diff options
author | rollschuh2282 <53496587+rollschuh2282@users.noreply.github.com> | 2020-05-29 12:04:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 12:04:20 +0200 |
commit | 2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1 (patch) | |
tree | 5bbe1fb4402057619d68725c278733ed249433cc /src/render/WaterLevel.cpp | |
parent | Add files via upload (diff) | |
download | re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.tar re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.tar.gz re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.tar.bz2 re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.tar.lz re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.tar.xz re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.tar.zst re3-2d5f7d92e5ced42e787caabcaa6c5b535c4cdfd1.zip |
Diffstat (limited to 'src/render/WaterLevel.cpp')
-rw-r--r-- | src/render/WaterLevel.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp index 1a28ce83..6133b1d7 100644 --- a/src/render/WaterLevel.cpp +++ b/src/render/WaterLevel.cpp @@ -35,6 +35,8 @@ bool CWaterLevel::WavesCalculatedThisFrame; RpAtomic *CWaterLevel::ms_pWavyAtomic; RpGeometry *CWaterLevel::apGeomArray[8]; int16 CWaterLevel::nGeomUsed; +//"Custom" Donīt Render Water Toggle +bool gbDontRenderWater; //RwTexture *gpWaterTex; //RwRaster *gpWaterRaster; @@ -332,6 +334,11 @@ SectorRadius(float fSize) void CWaterLevel::RenderWater() { +//"Custom" Donīt Render Water Toggle +#ifndef MASTER + if (gbDontRenderWater) + return; +#endif bool bUseCamEndX = false; bool bUseCamStartY = false; |