Use SRB2VERSION here...

This commit is contained in:
James R 2020-07-13 08:59:41 -07:00
parent 93615b07be
commit f5c5ec000d
1 changed files with 4 additions and 8 deletions

View File

@ -385,15 +385,13 @@ HMS_register (void)
snprintf(post, sizeof post,
"port=%d&"
"title=%s&"
"version=%d.%d.%d",
"version=%s",
current_port,
title,
VERSION/100,
VERSION%100,
SUBVERSION
SRB2VERSION
);
curl_free(title);
@ -528,10 +526,8 @@ HMS_fetch_servers (msg_server_t *list, int room_number, int query_id)
doing_shit = 1;
snprintf(local_version, sizeof local_version,
"%d.%d.%d",
VERSION/100,
VERSION%100,
SUBVERSION
"%s",
SRB2VERSION
);
p = hms->buffer;