diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-05-22 00:34:37 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-05-22 00:34:37 +0000 |
commit | 19234f2b7a3acccab061b6814868602e7c58d843 (patch) | |
tree | 048bf54d27cedbf0b37197a9777089198fc2e258 | |
parent | 46e3e8e089f5084933d562f2d0bb9b037e2e855c (diff) | |
download | ioquake3-aero-19234f2b7a3acccab061b6814868602e7c58d843.tar.gz ioquake3-aero-19234f2b7a3acccab061b6814868602e7c58d843.zip |
Minor fix for server infostring. Thanks to slacker
git-svn-id: svn://svn.icculus.org/quake3/trunk@1556 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/client/cl_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 56a226b..ed32313 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -296,7 +296,7 @@ static void LAN_GetServerInfo( int source, int n, char *buf, int buflen ) { Info_SetValueForKey( info, "game", server->game); Info_SetValueForKey( info, "gametype", va("%i",server->gameType)); Info_SetValueForKey( info, "nettype", va("%i",server->netType)); - Info_SetValueForKey( info, "addr", NET_AdrToString(server->adr)); + Info_SetValueForKey( info, "addr", NET_AdrToStringwPort(server->adr)); Info_SetValueForKey( info, "punkbuster", va("%i", server->punkbuster)); Q_strncpyz(buf, info, buflen); } else { |