shithub: choc

Download patch

ref: 55225853c8a051f6201d9b92bc0fe68ef68bc8be
parent: 27e8895b2f01820ab3bce997e7d9cffee9acdd13
author: Simon Howard <[email protected]>
date: Mon Feb 27 15:11:14 EST 2006

Fix problem starting games with four players

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 398

--- a/src/net_client.c
+++ b/src/net_client.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: net_client.c 394 2006-02-27 16:31:08Z fraggle $
+// $Id: net_client.c 398 2006-02-27 20:11:14Z fraggle $
 //
 // Copyright(C) 2005 Simon Howard
 //
@@ -635,7 +635,7 @@
         return;
     }
 
-    if (num_players >= MAXPLAYERS || player_number >= num_players)
+    if (num_players > MAXPLAYERS || player_number >= num_players)
     {
         // insane values
         return;