mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: hide ref calls under Host_IsDedicated checks, replace ref function ptr checks by \!Host_IsDedicated
This commit is contained in:
@@ -1131,7 +1131,7 @@ static void SaveClientState( SAVERESTOREDATA *pSaveData, const char *level, int
|
||||
|
||||
// initialize client header
|
||||
#ifndef XASH_DEDICATED
|
||||
if( ref.dllFuncs.R_CreateDecalList )
|
||||
if( !Host_IsDedicated() )
|
||||
{
|
||||
header.decalCount = ref.dllFuncs.R_CreateDecalList( decalList );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user