From 6f74af238e95fff14facee6feca7419a8817d945 Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Thu, 13 Jan 2022 23:15:28 +0100 Subject: [PATCH] random startup crash fix --- mp/src/tier1/utlbuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mp/src/tier1/utlbuffer.cpp b/mp/src/tier1/utlbuffer.cpp index fc89d773..8e60d2b7 100644 --- a/mp/src/tier1/utlbuffer.cpp +++ b/mp/src/tier1/utlbuffer.cpp @@ -614,8 +614,8 @@ void CUtlBuffer::GetStringInternal( char *pString, size_t maxLenInChars ) *pString = 0; return; } - - Assert( maxLenInChars != 0 ); + //Was crashing the game at startup so had to comment this out + //Assert( maxLenInChars != 0 ); if ( maxLenInChars == 0 ) {