diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-05 12:19:39 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:34:33 +0200 |
commit | 793e1223de99ebc0c3106fe3840bea8addee4321 (patch) | |
tree | 77070d6b7649f60e678c1a7a3d1ddaf13cfd60df /src/render/WaterLevel.cpp | |
parent | Fix some timer calls (diff) | |
download | re3-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 |
Diffstat (limited to '')
-rw-r--r-- | src/render/WaterLevel.cpp | 2 |
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) ) { |