From 36c09c501e74b1108ebc50cd8849c1e58589c79d Mon Sep 17 00:00:00 2001 From: Joao Pasqualini Costa Date: Thu, 4 Jan 2024 11:59:57 -0300 Subject: [PATCH] fix: isSightClear wrong check for block projectile --- src/client/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/map.cpp b/src/client/map.cpp index 8ede977a77..89ac14e120 100644 --- a/src/client/map.cpp +++ b/src/client/map.cpp @@ -1115,7 +1115,7 @@ bool Map::isSightClear(const Position& fromPos, const Position& toPos) } auto tile = getTile(Position(start.x, start.y, start.z)); - if (tile && tile->isLookPossible()) { + if (tile && !tile->isLookPossible()) { return false; } }