fixed native function names bug (probably :) )

This commit is contained in:
Pavol Marko 2004-03-07 17:37:14 +00:00
parent 6522feebe9
commit 7e6a38eba5

View File

@ -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);