Browse Source

engine: common: allow unlimited commands for unprivileged mode at this time to not break mods like GGM

pull/2/head
Alibek Omarov 3 years ago committed by a1batross
parent
commit
1944f48516
  1. 5
      engine/common/cmd.c

5
engine/common/cmd.c

@ -257,7 +257,10 @@ void Cbuf_Execute( void ) @@ -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
}

Loading…
Cancel
Save