summaryrefslogtreecommitdiff
path: root/network_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_client.c')
-rw-r--r--network_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_client.c b/network_client.c
index 613cf8549..cf64e1485 100644
--- a/network_client.c
+++ b/network_client.c
@@ -279,7 +279,7 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_COMPANY_INFO)
company_info_version = NetworkRecv_uint8(MY_CLIENT, p);
- if (!MY_CLIENT->quited && company_info_version == 1) {
+ if (!MY_CLIENT->quited && company_info_version == NETWORK_COMPANY_INFO_VERSION) {
byte total;
byte current;