Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/ntserv



Date:	Sunday February 20, 19100 @ 7:05
Author:	jeffno

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv28858/ntserv

Modified Files:
	main.c 
Log Message:
Added a #ifdef VOTING around some code that
broke when VOTING wasn't defined.

****************************************

Index: Vanilla/ntserv/main.c
diff -u Vanilla/ntserv/main.c:1.16 Vanilla/ntserv/main.c:1.17
--- Vanilla/ntserv/main.c:1.16	Wed Sep 29 02:36:36 1999
+++ Vanilla/ntserv/main.c	Sun Feb 20 07:05:00 2000
@@ -395,11 +395,13 @@
       }
     }
 
+#ifdef VOTING
     /* reset eject voting to avoid inheriting this slot's last occupant's */
     /* escaped fate just in case the last vote comes through after the    */
     /* old guy quit and the new guy joined  -Villalpando req. by Cameron  */
     for (i = 0, j = &players[i]; i < MAXPLAYER; i++, j++) 
       j->voting[me->p_no] = -1;
+#endif
 
     /* Get input until the player quits or dies */
     living++;