engine: fix build

This commit is contained in:
Alibek Omarov 2019-10-05 04:02:25 +03:00
parent 02e111c5e1
commit d382f6886d
2 changed files with 7 additions and 3 deletions

View File

@ -200,7 +200,7 @@ void Host_ClientFrame( void )
void Host_InputFrame( void )
{
Cbuf_Execute( void );
Cbuf_Execute( );
}
void VID_InitDefaultResolution( void )

View File

@ -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 )
{