branch | 0.5 |
changeset 5387 | 3047d553859c |
parent 5370 | fb39e4250252 |
child 5482 | cf9c0b5d3bb3 |
--- a/players.c Fri Jan 05 23:43:20 2007 +0000 +++ b/players.c Sun Jan 07 11:34:20 2007 +0000 @@ -844,7 +844,10 @@ if (!_networking) return CMD_ERROR; /* Has the network client a correct ClientID? */ - if (!(flags & DC_EXEC) || cid >= MAX_CLIENT_INFO) return 0; + if (!(flags & DC_EXEC)) return 0; +#ifdef ENABLE_NETWORK + if (cid >= MAX_CLIENT_INFO) return 0; +#endif /* ENABLE_NETWORK */ /* Delete multiplayer progress bar */ DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0);