From 888ea67bab11ba1a6917e3e4ff26bfc2e5233235 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sat, 7 Mar 2020 20:52:29 +0000 Subject: add !range command --- src/game/g_local.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/game/g_local.h') diff --git a/src/game/g_local.h b/src/game/g_local.h index 7c96014..2d73b5f 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -463,6 +463,10 @@ typedef struct unlagged_s { qboolean used; } unlagged_t; +typedef struct { + float rangeBoost; +} adminRangeBoosts_t; + // this structure is cleared on each ClientSpawn(), // except for 'client->pers' and 'client->sess' struct gclient_s @@ -562,6 +566,8 @@ struct gclient_s int tkcredits[ MAX_CLIENTS ]; + adminRangeBoosts_t newRange; + }; -- cgit