fixed bug at31100 (belsebub)

This commit is contained in:
David Anderson 2006-06-11 08:58:15 +00:00
parent 1088b209d9
commit 50311d14fb

View File

@ -3725,7 +3725,7 @@ static cell AMX_NATIVE_CALL CreateOneForward(AMX *amx, cell *params)
for (cell i=3; i<=count; i++)
ps[i-3] = *get_amxaddr(amx, params[i]);
return registerSPForwardByNameC(amx, funcname, ps, count-2);
return registerSPForwardByNameC(p->getAMX(), funcname, ps, count-2);
}
static cell AMX_NATIVE_CALL PrepareArray(AMX *amx, cell *params)