- Set default master protocol version for COD to 5

git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@657 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2004-08-22 11:53:13 +00:00 committed by l-n
parent f1315cd715
commit 927d16bab4
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,6 @@
Aug 22, 2004: Ludwig Nussel <l-n@users.sourceforge.net>
- Set default master protocol version for COD to 5
Aug 18, 2004: Ludwig Nussel <l-n@users.sourceforge.net> Aug 18, 2004: Ludwig Nussel <l-n@users.sourceforge.net>
- Apply brightness correction to mapshots - Apply brightness correction to mapshots

View File

@ -327,13 +327,14 @@ char* ef_masterprotocols[] = {
}; };
char* cod_masterprotocols[] = { char* cod_masterprotocols[] = {
"1", "5 - v1.4",
"1 - retail",
NULL NULL
}; };
char* jk3_masterprotocols[] = { char* jk3_masterprotocols[] = {
"25 - v1.0",
"26 - v1.01", "26 - v1.01",
"25 - v1.0",
NULL NULL
}; };
@ -5068,7 +5069,7 @@ int prefs_load (void) {
/* Call of Duty */ /* Call of Duty */
config_push_prefix ("/" CONFIG_FILE "/Game: CODS"); config_push_prefix ("/" CONFIG_FILE "/Game: CODS");
tmp = config_get_string ("protocol=1"); tmp = config_get_string ("protocol=5");
if ( strlen( tmp ) == 0 ) if ( strlen( tmp ) == 0 )
{ {
g_free(tmp); g_free(tmp);

View File

@ -27,7 +27,7 @@ gametype CODM new extend Q3M
name = Call of Duty Master name = Call of Duty Master
default port = 20510 default port = 20510
template var = CODMASTER template var = CODMASTER
master protocol = 1 master protocol = 5
master for gametype = CODS master for gametype = CODS
master query = full empty master query = full empty
end end