summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-19 16:32:25 +0100
committerwithmorten <morten.with@gmail.com>2021-02-19 16:32:25 +0100
commit60bc816af5ef4061a17f0294900da2e503a68671 (patch)
tree5622d2d5368a497bc20f5d2228107a2284e382a9 /src/render
parentUpdate librw to fix Mac hi-dpi (diff)
downloadre3-60bc816af5ef4061a17f0294900da2e503a68671.tar
re3-60bc816af5ef4061a17f0294900da2e503a68671.tar.gz
re3-60bc816af5ef4061a17f0294900da2e503a68671.tar.bz2
re3-60bc816af5ef4061a17f0294900da2e503a68671.tar.lz
re3-60bc816af5ef4061a17f0294900da2e503a68671.tar.xz
re3-60bc816af5ef4061a17f0294900da2e503a68671.tar.zst
re3-60bc816af5ef4061a17f0294900da2e503a68671.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 e91aa790..0d114db9 100644
--- a/src/render/WaterLevel.cpp
+++ b/src/render/WaterLevel.cpp
@@ -611,14 +611,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))
{
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))
{
return false;
}