summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-04-09 00:11:10 +0000
committerTim Angus <tim@ngus.net>2006-04-09 00:11:10 +0000
commitcf9b7835e0f7021739bc620ac51c6081036faaee (patch)
treed70f906603378e32e047ac2196303e3ddfbb76b0 /src/client
parentf42f817cba50d1a40f27b17e56a210fc5f2ad22e (diff)
* Fixed display of long server names
* Fixed sort by ping * Changed default source to internet * Added simple options menu to frontend * Removed PB menu file * Changed default net rate * Fixed scoreboard alignment * Implemented "scoresUp" and "scoresDown"
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_main.c4
-rw-r--r--src/client/client.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 78ff243b..f326632d 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -2417,7 +2417,7 @@ void CL_Init( void ) {
// userinfo
Cvar_Get ("name", "UnnamedPlayer", CVAR_USERINFO | CVAR_ARCHIVE );
- Cvar_Get ("rate", "3000", CVAR_USERINFO | CVAR_ARCHIVE );
+ Cvar_Get ("rate", "25000", CVAR_USERINFO | CVAR_ARCHIVE );
Cvar_Get ("snaps", "20", CVAR_USERINFO | CVAR_ARCHIVE );
Cvar_Get ("model", "sarge", CVAR_USERINFO | CVAR_ARCHIVE );
Cvar_Get ("headmodel", "sarge", CVAR_USERINFO | CVAR_ARCHIVE );
@@ -2538,7 +2538,7 @@ static void CL_SetServerInfo(serverInfo_t *server, const char *info, int ping) {
if (server) {
if (info) {
server->clients = atoi(Info_ValueForKey(info, "clients"));
- Q_strncpyz(server->hostName,Info_ValueForKey(info, "hostname"), MAX_NAME_LENGTH);
+ Q_strncpyz(server->hostName,Info_ValueForKey(info, "hostname"), MAX_HOSTNAME_LENGTH );
Q_strncpyz(server->mapName, Info_ValueForKey(info, "mapname"), MAX_NAME_LENGTH);
server->maxClients = atoi(Info_ValueForKey(info, "sv_maxclients"));
Q_strncpyz(server->game,Info_ValueForKey(info, "game"), MAX_NAME_LENGTH);
diff --git a/src/client/client.h b/src/client/client.h
index f0aa6e8e..a7db023f 100644
--- a/src/client/client.h
+++ b/src/client/client.h
@@ -228,7 +228,7 @@ typedef struct {
typedef struct {
netadr_t adr;
- char hostName[MAX_NAME_LENGTH];
+ char hostName[MAX_HOSTNAME_LENGTH];
char mapName[MAX_NAME_LENGTH];
char game[MAX_NAME_LENGTH];
int netType;