From 67e98dc4f519af88ad6920b58bff05ed9db72212 Mon Sep 17 00:00:00 2001 From: BotoX Date: Sun, 3 Jan 2021 13:49:18 +0100 Subject: [PATCH] remove client-side spray size limit --- src/engine/client.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/client.cpp b/src/engine/client.cpp index c209837..ae52f15 100644 --- a/src/engine/client.cpp +++ b/src/engine/client.cpp @@ -1152,11 +1152,13 @@ void CClientState::AddCustomFile( int slot, const char *resourceFile) return; // resource file doesn't exits } +/* if ( g_pFileSystem->Size( resourceFile ) > MAX_CUSTOM_FILE_SIZE ) { Msg("Customization file '%s' is too big ( >%i bytes).\n", resourceFile, MAX_CUSTOM_FILE_SIZE ); return; // resource file doesn't exits } +*/ CRC32_t crcValue;