Mercurial > hg > openttd
changeset 2882:47c9527eb205 draft
(svn r3430) - You can of course not join when there are more companies than the maximum set, not the other way around.
author | Darkvater <Darkvater@openttd.org> |
---|---|
date | Wed, 25 Jan 2006 19:14:50 +0000 |
parents | e2d049cb8b51 |
children | 1cde26b63299 |
files | network_server.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/network_server.c +++ b/network_server.c @@ -615,7 +615,7 @@ // join another company does not affect these values switch (playas) { case 0: /* New company */ - if (_network_game_info.companies_max >= _network_game_info.companies_on) { + if (_network_game_info.companies_on >= _network_game_info.companies_max) { SEND_COMMAND(PACKET_SERVER_ERROR)(cs, NETWORK_ERROR_FULL); return; }