From 7e6a38eba590547e37dbb5d2aa02cb6e9466be75 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Sun, 7 Mar 2004 17:37:14 +0000 Subject: [PATCH] fixed native function names bug (probably :) ) --- amxmodx/amx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/amx.c b/amxmodx/amx.c index e94ab820..a4ebf030 100755 --- a/amxmodx/amx.c +++ b/amxmodx/amx.c @@ -1329,7 +1329,7 @@ int AMXAPI amx_Register(AMX *amx, AMX_NATIVE_INFO *list, int number) else { err=AMX_ERR_NOTFOUND; - no_function = func->name; + no_function = GETENTRYNAME(hdr,func); } } /* if */ func=(AMX_FUNCSTUB*)((unsigned char*)func+hdr->defsize);