Mapchooser: missing MAX_NAME_LENGTH

This commit is contained in:
Freeman-AM 2014-10-12 00:59:08 +02:00
parent c440929700
commit 6bb9052261

View File

@ -69,7 +69,7 @@ public checkVotes(){
public countVote(id,key){ public countVote(id,key){
if ( get_cvar_float("amx_vote_answers") ) { if ( get_cvar_float("amx_vote_answers") ) {
new name[32] new name[MAX_NAME_LENGTH]
get_user_name(id,name,charsmax(name)) get_user_name(id,name,charsmax(name))
if ( key == SELECTMAPS ) if ( key == SELECTMAPS )
client_print(0,print_chat,"%s chose map extending", name ) client_print(0,print_chat,"%s chose map extending", name )