View Single Post
NiLuJe
Veteran Member
Join Date: Mar 2004
Location: Paris, France
Old 08-28-2005 , 12:27  
#31

On a sidenote ghost of evilspy :

In mmp 25, sdk_util.h, line 63 :
Code:
#define QUERY_CLIENT_CVAR       (*g_engfuncs.pfnQueryClientCvarValue)
In mm 1.18 :
Code:
#define QUERY_CLIENT_CVAR_VALUE       (*g_engfuncs.pfnQueryClientCvarValue)
With the latest amxmodx cvs commits, it won't build against mmp.

EDIT : Well, even when changing the define, it fails to build:
Code:
meta_api.cpp: In function `void C_CvarValue(const edict_t*, const char*)':
meta_api.cpp:1026: error: invalid conversion from `const edict_t*' to `edict_t*'
meta_api.cpp:1026: error:   initializing argument 1 of `int ENTINDEX(edict_t*)'
meta_api.cpp:1034: error: invalid conversion from `const edict_t*' to `edict_t*'
meta_api.cpp:1034: error:   initializing argument 1 of `int ENTINDEX(edict_t*)'
meta_api.cpp:1420:7: warning: no newline at end of file
make[1]: *** [Release/meta_api.o] Error 1
I'll build against mm 1.18 then, it works ;)
NiLuJe is offline
Send a message via MSN to NiLuJe