Skip to content

Commit

Permalink
fix: limitsFloorsView
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Mar 2, 2023
1 parent bef0e11 commit d3e727e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ bool Tile::limitsFloorsView(bool isFreeView)
{
// ground and walls limits the view
const auto& firstThing = getThing(0);
return firstThing && (firstThing->isGround() || (isFreeView ? firstThing->isOnBottom() : firstThing->isOnBottom() && firstThing->blockProjectile()));
return firstThing && !firstThing->isDontHide() && (firstThing->isGround() || (isFreeView ? firstThing->isOnBottom() : firstThing->isOnBottom() && firstThing->blockProjectile()));
}

bool Tile::checkForDetachableThing()
Expand Down

0 comments on commit d3e727e

Please sign in to comment.