diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-05-18 22:28:46 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-05-18 22:30:39 +0200 |
commit | 68d2b3ae9ec3ef78167c20f1c9662c5020ee1f04 (patch) | |
tree | c0ad32201bd38c95ef118ae8697f61118918b0fc /src/game/g_local.h | |
parent | 45cdb9ec54ba66201a1d47d699802e85fca8df53 (diff) |
Basic implementation of !versions.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index a3c02c8..5a8d1f8 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -373,6 +373,8 @@ typedef struct long timeLastViewed; } statsCounters_level; +#define MAX_CLIENT_VERSION 80 + // client data that stays across multiple respawns, but is cleared // on each level change or team change at ClientBegin() typedef struct @@ -440,6 +442,7 @@ typedef struct qboolean firstConnect; // This is the first map since connect qboolean useUnlagged; statsCounters_t statscounters; + char version[ MAX_CLIENT_VERSION ]; } clientPersistant_t; #define MAX_UNLAGGED_MARKERS 256 |