mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed native function names bug (probably :) )
This commit is contained in:
parent
6522feebe9
commit
7e6a38eba5
@ -1329,7 +1329,7 @@ int AMXAPI amx_Register(AMX *amx, AMX_NATIVE_INFO *list, int number)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
err=AMX_ERR_NOTFOUND;
|
err=AMX_ERR_NOTFOUND;
|
||||||
no_function = func->name;
|
no_function = GETENTRYNAME(hdr,func);
|
||||||
}
|
}
|
||||||
} /* if */
|
} /* if */
|
||||||
func=(AMX_FUNCSTUB*)((unsigned char*)func+hdr->defsize);
|
func=(AMX_FUNCSTUB*)((unsigned char*)func+hdr->defsize);
|
||||||
|
Loading…
Reference in New Issue
Block a user