From 3b42c6116613681abe24c4482ba51b9a3d971c04 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 15 Feb 2026 18:46:14 -0300 Subject: rename CHANNEL_PRIVATE to FIRST_PRIVATE_CHANNEL for readability Also make it dependent on the number of public channels to avoid de-sync problems between them, when adding new public channels. --- src/map.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map.cc') diff --git a/src/map.cc b/src/map.cc index c692d30..87cd307 100644 --- a/src/map.cc +++ b/src/map.cc @@ -1307,8 +1307,8 @@ void SaveMap(void){ } void RefreshSector(int SectorX, int SectorY, int SectorZ, TReadStream *Stream){ - // TODO(fusion): `matrix3d::at` will return the first entry if the coordinates - // are out of bounds which that is problematic, specially here. + // NOTE(fusion): `matrix3d::at` would return the first entry if coordinates + // are out of bounds which could be a problem here. if(SectorX < SectorXMin || SectorXMax < SectorX || SectorY < SectorYMin || SectorYMax < SectorY || SectorZ < SectorZMin || SectorZMax < SectorZ){ -- cgit v1.2.3