fix: block double vote actions

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2440 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-08-28 19:44:26 +00:00
parent bee4105a3c
commit e23143eb88
+1
View File
@@ -1441,6 +1441,7 @@ struct voteinfo
void evaluate(bool forceend = false)
{
if(result!=VOTE_NEUTRAL) return; // block double action
int stats[VOTE_NUM] = {0};
loopv(clients)
if(clients[i]->type!=ST_EMPTY && clients[i]->connectmillis < callmillis)