From 50311d14fb0a1fdfccc36668286999174f9249af Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 11 Jun 2006 08:58:15 +0000 Subject: [PATCH] fixed bug at31100 (belsebub) --- amxmodx/amxmodx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index fe49a8db..4405a6f8 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -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)