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:34:33 +0200
commit793e1223de99ebc0c3106fe3840bea8addee4321 (patch)
tree77070d6b7649f60e678c1a7a3d1ddaf13cfd60df
parentFix some timer calls (diff)
downloadre3-793e1223de99ebc0c3106fe3840bea8addee4321.tar
re3-793e1223de99ebc0c3106fe3840bea8addee4321.tar.gz
re3-793e1223de99ebc0c3106fe3840bea8addee4321.tar.bz2
re3-793e1223de99ebc0c3106fe3840bea8addee4321.tar.lz
re3-793e1223de99ebc0c3106fe3840bea8addee4321.tar.xz
re3-793e1223de99ebc0c3106fe3840bea8addee4321.tar.zst
re3-793e1223de99ebc0c3106fe3840bea8addee4321.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 8af98d46..16182137 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) )
{