Using the (*g_engfuncs.pfnQueryClientCvarValue) directlty instead of the macro so that it compiles on both metamod and metamod-p

This commit is contained in:
Pavol Marko 2005-09-05 20:51:24 +00:00
parent aa0e4e121e
commit 2d5f9ba181

View File

@ -828,7 +828,7 @@ void C_StartFrame_Post( void )
{ {
if (!IS_QUERYING_CLIENT_CVAR(PLID, pPlayer->pEdict)) if (!IS_QUERYING_CLIENT_CVAR(PLID, pPlayer->pEdict))
{ {
QUERY_CLIENT_CVAR_VALUE(pPlayer->pEdict, pPlayer->cvarQueryQueue.front()->cvarName.c_str()); (*g_engfuncs.pfnQueryClientCvarValue)(pPlayer->pEdict, pPlayer->cvarQueryQueue.front()->cvarName.c_str());
pPlayer->cvarQueryQueue.front()->querying = true; pPlayer->cvarQueryQueue.front()->querying = true;
} }
} }