From 68d2b3ae9ec3ef78167c20f1c9662c5020ee1f04 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Thu, 18 May 2017 22:28:46 +0200 Subject: Basic implementation of !versions. --- src/game/g_local.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/g_local.h') 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 -- cgit