summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-06-05 12:19:39 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:45:48 +0200
commit7a351f18ba7315e5e80b09de053a7589ac872e8a (patch)
tree57e9fcc3a9d1e673bc0dbd26a85e3cde2bfc4e0a
parentFix some timer calls (diff)
downloadre3-7a351f18ba7315e5e80b09de053a7589ac872e8a.tar
re3-7a351f18ba7315e5e80b09de053a7589ac872e8a.tar.gz
re3-7a351f18ba7315e5e80b09de053a7589ac872e8a.tar.bz2
re3-7a351f18ba7315e5e80b09de053a7589ac872e8a.tar.lz
re3-7a351f18ba7315e5e80b09de053a7589ac872e8a.tar.xz
re3-7a351f18ba7315e5e80b09de053a7589ac872e8a.tar.zst
re3-7a351f18ba7315e5e80b09de053a7589ac872e8a.zip
-rw-r--r--src/render/WaterLevel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp
index c9990bfa..759a3595 100644
--- a/src/render/WaterLevel.cpp
+++ b/src/render/WaterLevel.cpp
@@ -1287,7 +1287,7 @@ CWaterLevel::RenderTransparentWater(void)
if ( fHugeSectorMaxRenderDistSqr > fHugeSectorDistToCamSqr )
{
- if ( TheCamera.IsSphereVisible(CVector(vecHugeSectorCentre.x, vecHugeSectorCentre.y, 0.0f), SectorRadius(HUGE_SECTOR_SIZE))) )
+ if ( TheCamera.IsSphereVisible(CVector(vecHugeSectorCentre.x, vecHugeSectorCentre.y, 0.0f), SectorRadius(HUGE_SECTOR_SIZE)) )
{
if ( fHugeSectorDistToCamSqr >= SQR(500.0f) )
{