From 2e0dcb860aa67e3321e8fa899a3ea1b208d88bf5 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Fri, 10 Mar 2006 19:04:04 +0000 Subject: [PATCH] fixed dynamic ExecuteForward not returning a valid result and patching the forward id --- amxmodx/amxmodx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/amxmodx.cpp b/amxmodx/amxmodx.cpp index a68312c7..defe5986 100755 --- a/amxmodx/amxmodx.cpp +++ b/amxmodx/amxmodx.cpp @@ -3834,7 +3834,7 @@ static cell AMX_NATIVE_CALL ExecuteForward(AMX *amx, cell *params) int id = static_cast(params[1]); int str_id = 0; int len; - cell *addr = get_amxaddr(amx, params[1]); + cell *addr = get_amxaddr(amx, params[2]); if (!g_forwards.isIdValid(id)) return 0;