summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index aa39c90c..88d752bc 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -949,8 +949,8 @@ void ClientUserinfoChanged( int clientNum )
char model[ MAX_QPATH ];
char buffer[ MAX_QPATH ];
char filename[ MAX_QPATH ];
- char oldname[ MAX_STRING_CHARS ];
- char newname[ MAX_STRING_CHARS ];
+ char oldname[ MAX_NAME_LENGTH ];
+ char newname[ MAX_NAME_LENGTH ];
char err[ MAX_STRING_CHARS ];
qboolean revertName = qfalse;
gclient_t *client;