engine: fix undefined pfnTime build error, it has been renamed to Sys_FloatTime

This commit is contained in:
Alibek Omarov
2026-01-13 06:03:09 +05:00
parent d7b96ea8c2
commit 46ccc37cae
3 changed files with 2 additions and 3 deletions

View File

@@ -277,7 +277,7 @@ static render_api_t gRenderAPI =
pfnCompareFileTime,
Host_Error,
(void*)CL_ModelHandle,
pfnTime,
Sys_FloatTime,
Cvar_Set,
S_FadeMusicVolume,
COM_SetRandomSeed,

View File

@@ -647,7 +647,6 @@ void Con_DPrintf( const char *fmt, ... ) FORMAT_CHECK( 1 );
void Con_Printf( const char *szFmt, ... ) FORMAT_CHECK( 1 );
int pfnNumberOfEntities( void );
int pfnIsInGame( void );
float pfnTime( void );
#define copystring( s ) _copystring( host.mempool, s, __FILE__, __LINE__ )
#define copystringpool( pool, s ) _copystring( pool, s, __FILE__, __LINE__ )
#define SV_CopyString( s ) _copystring( svgame.stringspool, s, __FILE__, __LINE__ )

View File

@@ -4803,7 +4803,7 @@ static enginefuncs_t gEngfuncs =
COM_RandomLong,
COM_RandomFloat,
pfnSetView,
pfnTime,
Sys_FloatTime,
pfnCrosshairAngle,
COM_LoadFileForMe,
COM_FreeFile,