diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 17:15:05 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:11 +0100 |
commit | 59875f1378dca6605cd0426eff89f850d8743c92 (patch) | |
tree | 386f33324df8e2c528b3237d86d4fb0c20a37aba /src/game/g_local.h | |
parent | 7224c7bf34cf7548f86a3af2247240705c0f4b4b (diff) |
fix noclipping players affecting other players
notably, other players were able to stand on the "center" of a noclipped player
set an r.contents value of 0 for noclipping clients, backing up the r.contents value in the new ent->client->cliprcontents field
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index d319a5c2..081c47b8 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -362,6 +362,7 @@ struct gclient_s qboolean readyToExit; // wishes to leave the intermission qboolean noclip; + int cliprcontents; // the backup layer of ent->r.contents for when noclipping int lastCmdTime; // level.time of last usercmd_t, for EF_CONNECTION // we can't just use pers.lastCommand.time, because |