From: Rudolf Polzer Date: Wed, 20 Jul 2011 11:45:16 +0000 (+0200) Subject: get rid of some cruft (mapvote_maxlen) that was for the old centerprint mapvote interface X-Git-Tag: xonotic-v0.5.0~148^2~46 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fa6d11afb076e48b635d146a631879221b6b6991;p=xonotic%2Fxonotic-data.pk3dir.git get rid of some cruft (mapvote_maxlen) that was for the old centerprint mapvote interface --- 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;