From 1944f48516a9b72e0d15815004eeeace7cbb4af8 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 19 Nov 2021 05:15:40 +0300 Subject: [PATCH] engine: common: allow unlimited commands for unprivileged mode at this time to not break mods like GGM --- engine/common/cmd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/common/cmd.c b/engine/common/cmd.c index 97aceb01..62b2183d 100644 --- a/engine/common/cmd.c +++ b/engine/common/cmd.c @@ -257,7 +257,10 @@ void Cbuf_Execute( void ) { Cbuf_ExecuteCommandsFromBuffer( &cmd_text, true, -1 ); #if !XASH_DEDICATED - Cbuf_ExecuteCommandsFromBuffer( &filteredcmd_text, false, 1 ); + // a1ba: unlimited commands for filtered buffer per frame + // I don't see any sense in restricting that at this moment + // but in future we may limit this + Cbuf_ExecuteCommandsFromBuffer( &filteredcmd_text, false, -1 ); #endif }