mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-31 01:04:30 +00:00
engine: fix build
This commit is contained in:
parent
02e111c5e1
commit
d382f6886d
@ -200,7 +200,7 @@ void Host_ClientFrame( void )
|
||||
|
||||
void Host_InputFrame( void )
|
||||
{
|
||||
Cbuf_Execute( void );
|
||||
Cbuf_Execute( );
|
||||
}
|
||||
|
||||
void VID_InitDefaultResolution( void )
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user