mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 13:48:03 +03:00
missed the FP_DONE's
This commit is contained in:
parent
0acaf1b476
commit
dec169562b
@ -245,7 +245,7 @@ static cell AMX_NATIVE_CALL SortCustom1D(AMX *amx, cell *params)
|
|||||||
int len;
|
int len;
|
||||||
const char *funcname = get_amxstring(amx, params[3], 0, len);
|
const char *funcname = get_amxstring(amx, params[3], 0, len);
|
||||||
|
|
||||||
int pfn = registerSPForwardByName(amx, funcname, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_CELL);
|
int pfn = registerSPForwardByName(amx, funcname, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||||
if (pfn < 0)
|
if (pfn < 0)
|
||||||
{
|
{
|
||||||
LogError(amx, AMX_ERR_NATIVE, "The public function \"%s\" was not found.", funcname);
|
LogError(amx, AMX_ERR_NATIVE, "The public function \"%s\" was not found.", funcname);
|
||||||
@ -301,7 +301,7 @@ static cell AMX_NATIVE_CALL SortCustom2D(AMX *amx, cell *params)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pfn = registerSPForwardByName(amx, funcname, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_CELL);
|
int pfn = registerSPForwardByName(amx, funcname, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||||
if (pfn < 0)
|
if (pfn < 0)
|
||||||
{
|
{
|
||||||
amx_Release(amx, amx_addr);
|
amx_Release(amx, amx_addr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user