summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:18 +0200
commitbfb616d6541e4e0333b7d1ed53b945d16d18fad9 (patch)
tree517f8359df41297daa30a3a0ac716f0d5ab6f4c7 /src/game/g_local.h
parentf38f646bfc1b9b3904359b92cbd16377cd618308 (diff)
fix noclipping players affecting other players
notably, other players were able to stand on the "center" of a noclipped player set no r.contents flags for noclipping clients, keeping the saved r.contents value in the new ent->client->pers.cliprcontents field
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 5ca1f96..c8e5806 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -383,6 +383,7 @@ typedef struct
qboolean initialSpawn; // the first spawn should be at a cool location
qboolean predictItemPickup; // based on cg_predictItems userinfo
qboolean pmoveFixed; //
+ int cliprcontents;
char netname[ MAX_NETNAME ];
int maxHealth; // for handicapping
int enterTime; // level.time the client entered the game