From 60b3f30ab3ff12b123a36a269f61468c08bcadc1 Mon Sep 17 00:00:00 2001 From: Christian Hammacher Date: Wed, 26 Dec 2007 15:46:06 +0000 Subject: [PATCH] fixed fs1315 (fread_blocks broken due to typo) --- amxmodx/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/file.cpp b/amxmodx/file.cpp index cc8236e4..f474f059 100755 --- a/amxmodx/file.cpp +++ b/amxmodx/file.cpp @@ -516,7 +516,7 @@ static cell AMX_NATIVE_CALL amx_fread_blocks(AMX *amx, cell *params) cell *addr = get_amxaddr(amx, params[2]); size_t blocks = params[3]; - switch (params[3]) + switch (params[4]) { case 1: //char {