[HL25] Add and use macro for engine filtered client command
Updated already fixed this by using the engine interface directly. This commit is primarily to keep the "style consistency".
This commit is contained in:
parent
c567ed8a51
commit
53e411ae9d
2 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ inline struct cvar_s* CVAR_CREATE(const char* cv, const char* val, const int fla
|
|||
#define GetScreenInfo (*gEngfuncs.pfnGetScreenInfo)
|
||||
#define ServerCmd (*gEngfuncs.pfnServerCmd)
|
||||
#define EngineClientCmd (*gEngfuncs.pfnClientCmd)
|
||||
#define EngineFilteredClientCmd (*gEngfuncs.pfnFilteredClientCmd)
|
||||
#define SetCrosshair (*gEngfuncs.pfnSetCrosshair)
|
||||
#define AngleVectors (*gEngfuncs.pfnAngleVectors)
|
||||
|
||||
|
|
|
@ -807,7 +807,7 @@ void CHudSpectator::DirectorMessage(int iSize, void* pbuf)
|
|||
break;
|
||||
|
||||
case DRC_CMD_STUFFTEXT:
|
||||
gEngfuncs.pfnFilteredClientCmd(READ_STRING());
|
||||
EngineFilteredClientCmd(READ_STRING());
|
||||
break;
|
||||
|
||||
case DRC_CMD_CAMPATH:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue