From ea319bc2fbef91e3ea062be554b215756648d1d3 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Wed, 25 Jun 2025 10:09:17 -0300 Subject: finish `crnonpl.cc` --- src/connections.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/connections.cc') diff --git a/src/connections.cc b/src/connections.cc index fe26fea..7cf70c7 100644 --- a/src/connections.cc +++ b/src/connections.cc @@ -307,8 +307,7 @@ bool TConnection::IsVisible(int x, int y, int z){ int PlayerX, PlayerY, PlayerZ; this->GetPosition(&PlayerX, &PlayerY, &PlayerZ); - // NOTE(fusion): The player can see only floors above ground when above - // ground, or two floors up and down when underground. + // TODO(fusion): Have a standalone version of `TCreature::CanSeeFloor`? if(PlayerZ <= 7){ if(z > 7){ return false; -- cgit v1.2.3