summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-05-18 23:37:50 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-05-18 23:37:50 +0200
commit2ad1ec6272744c2910749998f779b32ddcae12fd (patch)
tree7a29148893c8f59bcb8c13cf91f59e14650e8c91 /src/game/g_client.c
parent68d2b3ae9ec3ef78167c20f1c9662c5020ee1f04 (diff)
Improve version checking.
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 6044136..f9a72ea 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1142,10 +1142,6 @@ void ClientUserinfoChanged( int clientNum, qboolean forceName )
if( !strcmp( s, "localhost" ) )
client->pers.localClient = qtrue;
- // check the version
- s = Info_ValueForKey( userinfo, "version" );
- Q_strncpyz( client->pers.version, s, MAX_CLIENT_VERSION );
-
// check the item prediction
s = Info_ValueForKey( userinfo, "cg_predictItems" );