players.c
branch0.5
changeset 5515 09bd10f069da
parent 5482 cf9c0b5d3bb3
child 5516 c88ac714b265
--- a/players.c	Fri Jun 22 20:20:36 2007 +0000
+++ b/players.c	Fri Jun 22 21:06:51 2007 +0000
@@ -838,7 +838,9 @@
 		 * _local_player/_network_playas: what they play as
 		 * cid = requested company/player of joining client */
 		Player *p;
+#ifdef ENABLE_NETWORK
 		uint16 cid = p2; // ClientID
+#endif /* ENABLE_NETWORK */
 
 		/* This command is only executed in a multiplayer game */
 		if (!_networking) return CMD_ERROR;