projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
949f089
)
get rid of some cruft (mapvote_maxlen) that was for the old centerprint mapvote interface
author
Rudolf Polzer <divVerent@xonotic.org>
Wed, 20 Jul 2011 11:45:16 +0000
(13:45 +0200)
committer
Rudolf Polzer <divVerent@xonotic.org>
Wed, 20 Jul 2011 11:45:16 +0000
(13:45 +0200)
qcsrc/server/g_world.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/g_world.qc
b/qcsrc/server/g_world.qc
index 4e56c0272c303825fbff734a226e907b8aadce1a..5b273a9c9529c40737e8f087a44d11d5f1dea699 100644
(file)
--- 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;