From 5b52a9a19f7d7fb7c27a778cf17c9407dc20a353 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Tue, 18 Apr 2023 05:34:51 +0300 Subject: [PATCH] engine: protocol: increase MAX_LIGHTSTYLES from 64 to 256, protocol limit as it encoded as unsigned byte --- engine/common/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/protocol.h b/engine/common/protocol.h index 7d525677..868ebbea 100644 --- a/engine/common/protocol.h +++ b/engine/common/protocol.h @@ -128,7 +128,7 @@ GNU General Public License for more details. #define MAX_USER_MESSAGES 197 // another 58 messages reserved for engine routines #define MAX_DLIGHTS 32 // dynamic lights (rendered per one frame) #define MAX_ELIGHTS 64 // entity only point lights -#define MAX_LIGHTSTYLES 64 // original quake limit +#define MAX_LIGHTSTYLES 256 // a1ba: increased from 64 to 256, protocol limit #define MAX_RENDER_DECALS 4096 // max rendering decals per a level // sound proto