From fa6d11afb076e48b635d146a631879221b6b6991 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 20 Jul 2011 13:45:16 +0200 Subject: [PATCH] get rid of some cruft (mapvote_maxlen) that was for the old centerprint mapvote interface --- qcsrc/server/g_world.qc | 3 --- 1 file changed, 3 deletions(-) diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 4e56c0272..5b273a9c9 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -2299,7 +2299,6 @@ string mapvote_maps_pakfile[MAPVOTE_COUNT]; float mapvote_maps_suggested[MAPVOTE_COUNT]; string mapvote_suggestions[MAPVOTE_COUNT]; float mapvote_suggestion_ptr; -float mapvote_maxlen; float mapvote_voters; float mapvote_votes[MAPVOTE_COUNT]; float mapvote_run; @@ -2365,8 +2364,6 @@ void MapVote_AddVotable(string nextMap, float isSuggestion) if(isSuggestion) if(!MapInfo_CheckMap(nextMap)) return; - if(strlen(nextMap) > mapvote_maxlen) - mapvote_maxlen = strlen(nextMap); mapvote_maps[mapvote_count] = strzone(nextMap); mapvote_maps_suggested[mapvote_count] = isSuggestion; -- 2.39.2