engine: server: fixed test packet buffer was not being created

This commit is contained in:
SNMetamorph 2024-02-26 19:25:03 +04:00 committed by Alibek Omarov
parent 373321ff00
commit 8efc9d74e8
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ static void SV_GenerateTestPacket( void )
// testpacket already generated once, exit
// testpacket and lookup table takes ~300k of memory
// disable for low memory mode
if( svs.testpacket_buf || XASH_LOW_MEMORY >= 0 )
if( svs.testpacket_buf || XASH_LOW_MEMORY > 0 )
return;
// don't need in singleplayer with full client