From a443547d4d0d51ea4357268eb0e3c383b8be7bec Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 20 Nov 2023 17:32:19 +0300 Subject: [PATCH] common: defaults: add default macro for default gameinfo max_edicts value --- common/defaults.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/defaults.h b/common/defaults.h index a3e57295..3267a950 100644 --- a/common/defaults.h +++ b/common/defaults.h @@ -189,4 +189,8 @@ Default build-depended cvar and constant values #define DEFAULT_FULLSCREEN "1" // must be a string #endif // DEFAULT_FULLSCREEN +#ifndef DEFAULT_MAX_EDICTS + #define DEFAULT_MAX_EDICTS 1200 // was 900 before HL25 +#endif // DEFAULT_MAX_EDICTS + #endif // DEFAULTS_H