summaryrefslogtreecommitdiff
path: root/src/net_client.c
diff options
context:
space:
mode:
authorSimon Howard2006-02-27 20:11:14 +0000
committerSimon Howard2006-02-27 20:11:14 +0000
commit55225853c8a051f6201d9b92bc0fe68ef68bc8be (patch)
treea86cbe6789cc8acb0d86776aa9f4a03380f823e7 /src/net_client.c
parent27e8895b2f01820ab3bce997e7d9cffee9acdd13 (diff)
downloadchocolate-doom-55225853c8a051f6201d9b92bc0fe68ef68bc8be.tar.gz
chocolate-doom-55225853c8a051f6201d9b92bc0fe68ef68bc8be.tar.bz2
chocolate-doom-55225853c8a051f6201d9b92bc0fe68ef68bc8be.zip
Fix problem starting games with four players
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 398
Diffstat (limited to 'src/net_client.c')
-rw-r--r--src/net_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_client.c b/src/net_client.c
index 110c458f..c47beb6d 100644
--- 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 @@ static void NET_CL_ParseGameStart(net_packet_t *packet)
return;
}
- if (num_players >= MAXPLAYERS || player_number >= num_players)
+ if (num_players > MAXPLAYERS || player_number >= num_players)
{
// insane values
return;