ref: 75292c1548ba30ddfb906f878eedf7828097dcd1
parent: f7293ce71e6e9b2d1dd3ac8dc95fbdf315022e56
author: Simon Howard <[email protected]>
date: Sat Jul 7 19:58:24 EDT 2007
Make drones quit when disconnected from the server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 933
--- a/src/net_client.c
+++ b/src/net_client.c
@@ -213,6 +213,13 @@
{
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";