summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-19 16:23:52 +0100
committerwithmorten <morten.with@gmail.com>2021-02-19 16:23:52 +0100
commit73fce903b86d2dd6a9e8a145fd9e4856214027cb (patch)
tree3f0aaec6402122ba413ba0403d880a00938cc73a /src/render
parentUpdate librw to fix Mac hi-dpi (diff)
downloadre3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.tar
re3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.tar.gz
re3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.tar.bz2
re3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.tar.lz
re3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.tar.xz
re3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.tar.zst
re3-73fce903b86d2dd6a9e8a145fd9e4856214027cb.zip
Diffstat (limited to 'src/render')
-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 bccaea39..4b474219 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, nil))
+ if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false, 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, nil))
+ if (!CWorld::ProcessLineOfSight(lineStart, lineEnd, col, entity, true, false, false, false, true, false, false))
{
return false;
}