From 6bb90522618ac2b22e0476f4b691c35f96ca4925 Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sun, 12 Oct 2014 00:59:08 +0200 Subject: [PATCH] Mapchooser: missing MAX_NAME_LENGTH --- plugins/ns/mapchooser.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ns/mapchooser.sma b/plugins/ns/mapchooser.sma index 7fc95db6..5c5bd33c 100755 --- a/plugins/ns/mapchooser.sma +++ b/plugins/ns/mapchooser.sma @@ -69,7 +69,7 @@ public checkVotes(){ public countVote(id,key){ if ( get_cvar_float("amx_vote_answers") ) { - new name[32] + new name[MAX_NAME_LENGTH] get_user_name(id,name,charsmax(name)) if ( key == SELECTMAPS ) client_print(0,print_chat,"%s chose map extending", name )