From 2d5f9ba181b3e454203153866e6418671ccbdf83 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Mon, 5 Sep 2005 20:51:24 +0000 Subject: [PATCH] Using the (*g_engfuncs.pfnQueryClientCvarValue) directlty instead of the macro so that it compiles on both metamod and metamod-p --- amxmodx/meta_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index 3131cf49..ad1a3eda 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -828,7 +828,7 @@ void C_StartFrame_Post( void ) { 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; } }