missed the FP_DONE's

This commit is contained in:
Borja Ferrer 2006-08-20 17:57:00 +00:00
parent 0acaf1b476
commit dec169562b

View File

@ -245,7 +245,7 @@ static cell AMX_NATIVE_CALL SortCustom1D(AMX *amx, cell *params)
int 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)
{
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;
}
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)
{
amx_Release(amx, amx_addr);