Hi tech@,

The user count checks have been compiled out since 1998, let's get rid
of them.

Comments? OK?

Index: games/backgammon/backgammon/main.c
===================================================================
RCS file: /cvs/src/games/backgammon/backgammon/main.c,v
retrieving revision 1.23
diff -u -p -r1.23 main.c
--- games/backgammon/backgammon/main.c  3 Jan 2016 14:38:16 -0000       1.23
+++ games/backgammon/backgammon/main.c  10 Jul 2017 17:48:06 -0000
@@ -35,7 +35,6 @@
 #include "backlocal.h"
 
 #define MVPAUSE        5               /* time to sleep when stuck */
-/* #define MAXUSERS 35 */              /* maximum number of users */
 
 extern const char   *const instruct[];         /* text of instructions */
 
@@ -91,14 +90,6 @@ main (int argc, char **argv)
 
        signal(SIGINT, getout); /* trap interrupts */
 
-/* check user count */
-#if 0
-       if (ucount() > MAXUSERS)  {
-               printw("%s%d%s", user1a, MAXUSERS, user1b);
-               getout(0);
-       }
-#endif
-
        /* use whole screen for text */
        begscr = 0;
 
@@ -394,15 +385,6 @@ main (int argc, char **argv)
 
                /* write score */
                wrscore();
-
-/* check user count */
-#if 0
-               if (ucount() > MAXUSERS)  {
-                       printw("%s%d%s", user2a, MAXUSERS, user2b);
-                       rfl = 1;
-                       break;
-               }
-#endif
 
                /* see if he wants another game */
                addstr(again);

Reply via email to