src/players.cpp
changeset 5943 9acc30eb83cd
parent 5919 2b58160d667d
child 6001 1e4c5406cd1a
--- a/src/players.cpp	Tue Jan 16 15:18:02 2007 +0000
+++ b/src/players.cpp	Tue Jan 16 15:20:22 2007 +0000
@@ -836,7 +836,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;