From 3e549a7d4484340d8d71500a7e61f81f403f48cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eray=20or=C3=A7unus?= Date: Sat, 29 Aug 2020 19:22:25 +0300 Subject: CGame done, Peds, fixes --- src/render/Occlusion.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render/Occlusion.cpp') diff --git a/src/render/Occlusion.cpp b/src/render/Occlusion.cpp index c2f220e9..1ea9da50 100644 --- a/src/render/Occlusion.cpp +++ b/src/render/Occlusion.cpp @@ -29,7 +29,9 @@ bool gOccluderCoorsValid[8]; CVector gOccluderCoorsOnScreen[8]; CVector gOccluderCoors[8]; +#ifndef MASTER bool bDisplayOccDebugStuff; +#endif void COcclusion::Init(void) @@ -39,7 +41,9 @@ COcclusion::Init(void) NearbyList = -1; ListWalkThroughFA = -1; PreviousListWalkThroughFA = -1; +#ifndef MASTER bDisplayOccDebugStuff = false; +#endif } void @@ -436,6 +440,7 @@ bool COcclusion::IsPositionOccluded(CVector pos, float side) { return false; } +#ifndef MASTER #include "Lines.h" RwIm2DVertex vertexbufferT[2]; @@ -476,3 +481,4 @@ void COcclusion::Render() { DefinedState(); } +#endif \ No newline at end of file -- cgit v1.2.3