From 54ab06493a25eb3a04b017e35996ccb5d9f74f57 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sat, 11 Oct 2014 14:07:38 +0200 Subject: [PATCH] Restmenu: fix a typo error induced by previous commit --- plugins/cstrike/restmenu.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cstrike/restmenu.sma b/plugins/cstrike/restmenu.sma index 615b2e4a..3942fb8c 100755 --- a/plugins/cstrike/restmenu.sma +++ b/plugins/cstrike/restmenu.sma @@ -751,7 +751,7 @@ loadSettings(filename[]) format(g_szEquipAmmoRestr, charsmax(g_szEquipAmmoRestr), "000000000") format(g_szWeapRestr, charsmax(g_szWeapRestr), "00000000000000000000000000") - while (read_file(filename, pos++, text, charsmax(test), a)) + while (read_file(filename, pos++, text, charsmax(text), a)) { if (text[0] == ';' || !a) continue // line is a comment