equal
deleted
inserted
replaced
842 |
842 |
843 /* This command is only executed in a multiplayer game */ |
843 /* This command is only executed in a multiplayer game */ |
844 if (!_networking) return CMD_ERROR; |
844 if (!_networking) return CMD_ERROR; |
845 |
845 |
846 /* Has the network client a correct ClientID? */ |
846 /* Has the network client a correct ClientID? */ |
847 if (!(flags & DC_EXEC) || cid >= MAX_CLIENT_INFO) return 0; |
847 if (!(flags & DC_EXEC)) return 0; |
|
848 #ifdef ENABLE_NETWORK |
|
849 if (cid >= MAX_CLIENT_INFO) return 0; |
|
850 #endif /* ENABLE_NETWORK */ |
848 |
851 |
849 /* Delete multiplayer progress bar */ |
852 /* Delete multiplayer progress bar */ |
850 DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); |
853 DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); |
851 |
854 |
852 p = DoStartupNewPlayer(false); |
855 p = DoStartupNewPlayer(false); |