@ -3171,14 +3171,18 @@ use -str64dup to disable deduplication, -str64alloc to set array size
@@ -3171,14 +3171,18 @@ use -str64dup to disable deduplication, -str64alloc to set array size
string_t GAME_EXPORT SV_AllocString ( const char * szValue )
{
const char * newString = NULL ;
int cmp ;
if ( svgame . physFuncs . pfnAllocString ! = NULL )
return svgame . physFuncs . pfnAllocString ( szValue ) ;
# ifdef XASH_64BIT
int cmp = 1 ;
cmp = 1 ;
if ( ! str64 . allowdup )
for ( newString = str64 . poldstringbase + 1 ; newString < str64 . plast & & ( cmp = Q_strcmp ( newString , szValue ) ) ; newString + = Q_strlen ( newString ) + 1 ) ;
for ( newString = str64 . poldstringbase + 1 ;
newString < str64 . plast & & ( cmp = Q_strcmp ( newString , szValue ) ) ;
newString + = Q_strlen ( newString ) + 1 ) ;
if ( cmp )
{