From 8eea0c7e293cedd389225476a20499877a62eb69 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Sun, 28 Jun 2015 04:44:53 +0200 Subject: [PATCH] fix protocol numbers --- src/pref.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/pref.c b/src/pref.c index 66099db..723b728 100644 --- a/src/pref.c +++ b/src/pref.c @@ -345,14 +345,8 @@ static struct q3_common_prefs_s cod_prefs = { }; static const char* jk2_masterprotocols[] = { - "15 - v1.02", "16 - v1.04", - NULL -}; - -static const char* jk3_masterprotocols[] = { - "26 - v1.01", - "25 - v1.0", + "15 - v1.02", NULL }; @@ -361,6 +355,12 @@ static struct q3_common_prefs_s jk2_prefs = { .defproto = "16", }; +static const char* jk3_masterprotocols[] = { + "26 - v1.01", + "25 - v1.0", + NULL +}; + static struct q3_common_prefs_s jk3_prefs = { .protocols = jk3_masterprotocols, .defproto = "26", @@ -446,6 +446,7 @@ static struct q3_common_prefs_s xonotic_prefs = { static const char* warsow_masterprotocols[] = { "auto", + "20 - v1.50", "15 - v1.02", "10 - v0.40", "9 - v0.32", @@ -457,7 +458,7 @@ static const char* warsow_masterprotocols[] = { static struct q3_common_prefs_s warsow_prefs = { .protocols = warsow_masterprotocols, - .defproto = "15", + .defproto = "20", }; static const char* tremulous_masterprotocols[] = {