minor fixes & comments
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6101 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -1251,8 +1251,7 @@ int vote(int v)
|
||||
putint(p, SV_VOTE);
|
||||
putint(p, v);
|
||||
sendpackettoserv(1, p.finalize());
|
||||
// flowtron : 2008 11 06 : I don't think the following comments are still current
|
||||
if(!curvote) { /*printf(":: curvote vanished!\n");*/ return 0; } // flowtron - happens when I call "/stopdemo"! .. seems the map-load happens in-between
|
||||
if(!curvote) return 0;
|
||||
curvote->stats[v]++;
|
||||
curvote->localplayervoted = true;
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user