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/operate.hh | |
| 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/operate.hh')
| -rw-r--r-- | src/operate.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/operate.hh b/src/operate.hh index 9dacc78..5e91bb5 100644 --- a/src/operate.hh +++ b/src/operate.hh @@ -31,8 +31,9 @@ enum : int { CHANNEL_TRADE = 5, CHANNEL_RLCHAT = 6, CHANNEL_HELP = 7, - CHANNEL_PRIVATE = 8, + PUBLIC_CHANNELS = 8, + FIRST_PRIVATE_CHANNEL = PUBLIC_CHANNELS, MAX_CHANNELS = 0xFFFF, }; |
