From 33aa1b0a10e9d60159780e69f78825101289ea97 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 10 Jul 2022 18:40:16 +0300 Subject: [PATCH] engine: add new undocumented function to server funcs --- engine/eiface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/eiface.h b/engine/eiface.h index f7cdb095..2863319e 100644 --- a/engine/eiface.h +++ b/engine/eiface.h @@ -268,6 +268,9 @@ typedef struct enginefuncs_s void (*pfnQueryClientCvarValue)( const edict_t *player, const char *cvarName ); void (*pfnQueryClientCvarValue2)( const edict_t *player, const char *cvarName, int requestID ); int (*CheckParm)( char *parm, char **ppnext ); + + // added in 8279 + edict_t* (*pfnPEntityOfEntIndexAllEntities)( int iEntIndex ); } enginefuncs_t; // ONLY ADD NEW FUNCTIONS TO THE END OF THIS STRUCT. INTERFACE VERSION IS FROZEN AT 138