summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2011-08-01 21:10:32 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:10 +0000
commitab7d626efd47289d3ded476422e25799eb751e26 (patch)
tree351c18f7ce03581b24cc34cedbff94691c004318 /src/game/g_active.c
parentca6b3e6b65a816b21912a3edeb457383349f9b48 (diff)
* (bug 5006) Keep ps.pmext up to date in the spectator situations, although this functionally changes nothing. (/dev/humancontroller)
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index dbc00741..58034a46 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -469,6 +469,7 @@ void SpectatorThink( gentity_t *ent, usercmd_t *ucmd )
// Set up for pmove
memset( &pm, 0, sizeof( pm ) );
pm.ps = &client->ps;
+ pm.pmext = &client->pmext;
pm.cmd = *ucmd;
pm.tracemask = MASK_DEADSOLID; // spectators can fly through bodies
pm.trace = trap_Trace;