summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 81700620..05fea6df 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -310,7 +310,7 @@ typedef struct
char netname[ MAX_NAME_LENGTH ];
int enterTime; // level.time the client entered the game
int location; // player locations
- qboolean teamInfo; // send team overlay updates?
+ int teamInfo; // level.time of team overlay update (disabled = 0)
float flySpeed; // for spectator/noclip moves
qboolean disableBlueprintErrors; // should the buildable blueprint never be hidden from the players?
@@ -340,9 +340,10 @@ typedef struct
char guid[ 33 ];
addr_t ip;
char voice[ MAX_VOICE_NAME_LEN ];
- qboolean useUnlagged;
- // keep track of other players' info for tinfo
- char cinfo[ MAX_CLIENTS ][ 16 ];
+ qboolean useUnlagged;
+
+ // level.time when teamoverlay info changed so we know to tell other players
+ int infoChangeTime;
} clientPersistant_t;
#define MAX_UNLAGGED_MARKERS 10