fix tribes2 player saving

git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@366 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2002-11-02 19:22:20 +00:00 committed by l-n
parent 69f4588112
commit 88cf71a84a
2 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,5 @@
Nov 02, 2002: Ludwig Nussel <l-n@users.sourceforge.net>
- fix saving of player info for rune and ut2
- fix saving of player info for rune, ut2 and tribes2
- do not display a single slash when model and skin are empty
Nov 2, 2002: Alex Burger <alex_b@users.sourceforge.net>

View File

@ -3350,6 +3350,21 @@ static void quake_save_info (FILE *f, struct server *s) {
/* Q2, etc... */
case T2_SERVER:
fprintf (f,
"%s" QSTAT_DELIM_STR
"%d" QSTAT_DELIM_STR
"%d" QSTAT_DELIM_STR
"%s" QSTAT_DELIM_STR
"%s" QSTAT_DELIM_STR
"\n", //tribe tag not supported yet
(p->name)? p->name : "",
p->frags,
0, // team number not supported yet
"x", // team name not supported yet
(p->model)? p->model : ""); // player_type
break;
default:
fprintf (f,
"%s" QSTAT_DELIM_STR