mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
engine: rename Host_IsLocalGame to Host_IsSinglePlayerGame to avoid confusion
This commit is contained in:
@@ -1724,7 +1724,7 @@ static qboolean SV_ShouldUpdateUserinfo( sv_client_t *cl )
|
||||
if( FBitSet( cl->flags, FCL_FAKECLIENT ))
|
||||
return allow;
|
||||
|
||||
if( Host_IsLocalGame( ))
|
||||
if( Host_IsSinglePlayerGame( ))
|
||||
return allow;
|
||||
|
||||
// start from 1 second
|
||||
|
||||
@@ -262,7 +262,7 @@ static void SV_CheckCmdTimes( void )
|
||||
Cvar_SetValue( "sv_fps", MAX_FPS_HARD );
|
||||
}
|
||||
|
||||
if( Host_IsLocalGame( ))
|
||||
if( Host_IsSinglePlayerGame( ))
|
||||
return;
|
||||
|
||||
if(( host.realtime - lastreset ) < 1.0 )
|
||||
|
||||
Reference in New Issue
Block a user