random startup crash fix

This commit is contained in:
Andreas Schaafsma 2022-01-13 23:15:28 +01:00
parent a2b223cfde
commit 6f74af238e

View File

@ -614,8 +614,8 @@ void CUtlBuffer::GetStringInternal( char *pString, size_t maxLenInChars )
*pString = 0; *pString = 0;
return; return;
} }
//Was crashing the game at startup so had to comment this out
Assert( maxLenInChars != 0 ); //Assert( maxLenInChars != 0 );
if ( maxLenInChars == 0 ) if ( maxLenInChars == 0 )
{ {