diff options
author | Simon Howard | 2007-07-07 23:58:24 +0000 |
---|---|---|
committer | Simon Howard | 2007-07-07 23:58:24 +0000 |
commit | 75292c1548ba30ddfb906f878eedf7828097dcd1 (patch) | |
tree | 8b9ca7eab1ff7221c22f4ebdf040737e68aa98df /src | |
parent | f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56 (diff) | |
download | chocolate-doom-75292c1548ba30ddfb906f878eedf7828097dcd1.tar.gz chocolate-doom-75292c1548ba30ddfb906f878eedf7828097dcd1.tar.bz2 chocolate-doom-75292c1548ba30ddfb906f878eedf7828097dcd1.zip |
Make drones quit when disconnected from the server.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 933
Diffstat (limited to 'src')
-rw-r--r-- | src/net_client.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net_client.c b/src/net_client.c index 0e2c4559..956d962a 100644 --- a/src/net_client.c +++ b/src/net_client.c @@ -213,6 +213,13 @@ static void NET_CL_Disconnected(void) { int i; + // In drone mode, the game cannot continue once disconnected. + + if (drone) + { + I_Error("Disconnected from server in drone mode."); + } + // disconnected from server players[consoleplayer].message = "Disconnected from server"; |