summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-19 16:33:37 +0100
committerwithmorten <morten.with@gmail.com>2021-02-19 16:33:37 +0100
commit8128e8e8172e360690b08b2c68d2544ddeebb6a3 (patch)
treefe9e9bccb1d7e976fb3f91a1bca5ac45ca524c7d
parentnil -> false (diff)
downloadre3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.tar
re3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.tar.gz
re3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.tar.bz2
re3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.tar.lz
re3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.tar.xz
re3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.tar.zst
re3-8128e8e8172e360690b08b2c68d2544ddeebb6a3.zip
Diffstat (limited to '')
-rw-r--r--src/render/WaterLevel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp
index 4b474219..e1014e86 100644
--- a/src/render/WaterLevel.cpp
+++ b/src/render/WaterLevel.cpp
@@ -432,14 +432,14 @@ CWaterLevel::TestVisibilityForFineWaterBlocks(const CVector &worldPos)
if ((lineEnd.x > WORLD_MIN_X && lineEnd.x < WORLD_MAX_X) && (lineEnd.y > WORLD_MIN_Y && lineEnd.y < WORLD_MAX_Y))
{
- if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false, false))
+ if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false))
{
lineStart.x += 0.4f;
lineStart.y += 0.4f;
lineEnd.x += 0.4f;
lineEnd.y += 0.4f;
- if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false, false))
+ if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false))
{
return false;
}