From f155005bb1a423baec5105741ecd03dac421b02e Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 6 Jun 2026 02:50:30 +0500 Subject: [PATCH] engine: move out MAX_CLIENTS definition --- common/xash3d_types.h | 4 ++++ engine/common/protocol.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/xash3d_types.h b/common/xash3d_types.h index 0f1fcd82..b224a1d4 100644 --- a/common/xash3d_types.h +++ b/common/xash3d_types.h @@ -16,6 +16,10 @@ #define CS_SIZE 64 // size of one config string #define CS_TIME 16 // size of time string +// FIXME: find better place for the shared definition +#define MAX_CLIENT_BITS 5 +#define MAX_CLIENTS (1<