no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@648 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-11-13 21:17:09 +00:00
parent dbad609062
commit 099c74e63f
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ bool vote(char *map, int reqmode, int sender)
else no++;
};
if(yes==1 && no==0) return true; // single player
s_sprintfd(msg)("%s suggests \"%s\" on map %s (set map to vote)", clients[sender]->name, modestr(reqmode), map);
s_sprintfd(msg)("%s suggests mode \"%s\" on map %s (set map to vote)", clients[sender]->name, modestr(reqmode), map);
sendservmsg(msg);
if(yes/(float)(yes+no) <= 0.5f && !clients[sender]->ismaster) return false;
sendservmsg("vote passed");