players.c
changeset 717 9530ebdc7eb0
parent 690 9f449a6b133e
child 983 1be852dcdd4c
--- a/players.c	Sun Dec 19 10:17:26 2004 +0000
+++ b/players.c	Sun Dec 19 10:24:45 2004 +0000
@@ -653,8 +653,11 @@
 
 		if (p != NULL) {
 			if (_local_player == OWNER_SPECTATOR) {
-				_local_player = p->index;
-				MarkWholeScreenDirty();
+				/* Check if we do not want to be a spectator in network */
+				if (!_networking || _network_server || _network_playas != OWNER_SPECTATOR) {
+					_local_player = p->index;
+					MarkWholeScreenDirty();
+				}
 			}
 #ifdef ENABLE_NETWORK
 			if (_network_server) {