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:
flowtron
2011-02-14 18:02:48 +00:00
parent d189141abb
commit 87d69da51f
4 changed files with 5 additions and 5 deletions
+1 -2
View File
@@ -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;