diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2026-02-15 18:46:14 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2026-02-15 18:48:20 -0300 |
| commit | 3b42c6116613681abe24c4482ba51b9a3d971c04 (patch) | |
| tree | 8e5768f8daec28d42e29d917118906334ee8ea6c /src/map.cc | |
| parent | 38a06a06d6988009eb022f1a5ee0f31f8b93ac4e (diff) | |
| download | game-3b42c6116613681abe24c4482ba51b9a3d971c04.tar.gz game-3b42c6116613681abe24c4482ba51b9a3d971c04.zip | |
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.
Diffstat (limited to 'src/map.cc')
| -rw-r--r-- | src/map.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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){ |
