equal
deleted
inserted
replaced
834 * |
834 * |
835 * Other client(s)/server: |
835 * Other client(s)/server: |
836 * _local_player/_network_playas: what they play as |
836 * _local_player/_network_playas: what they play as |
837 * cid = requested company/player of joining client */ |
837 * cid = requested company/player of joining client */ |
838 Player *p; |
838 Player *p; |
|
839 #ifdef ENABLE_NETWORK |
839 uint16 cid = p2; // ClientID |
840 uint16 cid = p2; // ClientID |
|
841 #endif /* ENABLE_NETWORK */ |
840 |
842 |
841 /* This command is only executed in a multiplayer game */ |
843 /* This command is only executed in a multiplayer game */ |
842 if (!_networking) return CMD_ERROR; |
844 if (!_networking) return CMD_ERROR; |
843 |
845 |
844 /* Has the network client a correct ClientID? */ |
846 /* Has the network client a correct ClientID? */ |