diff options
author | Michael Levin <risujin@fastmail.fm> | 2009-10-03 11:25:01 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:14:58 +0000 |
commit | 5189226d1e8df1e56240d51a32d0db82924320d7 (patch) | |
tree | fccc195f973841dfa5dad503421e01774b2c9f22 /src/cgame/cg_view.c | |
parent | 4b1bd2babe3c5b37648b987d16225d9f111205ce (diff) |
* Spawn queue displays ordinals ("You are 2nd in the spawn queue")
* Server does not communicate the number of eggs and telenodes to all clients anymore -- the correct number of spawns is passed to the client when they are in the spawn queue only (puts PERS_UNUSED to use)
Sticky and dead spectate (holy fuck that was hard for something so simple sounding):
* Big thanks to Lakitu7 for passing along the patch (with contributions from TJW, Undeference, and R1CH)
* UI has a new option to enable/disable sticky spectate
* Spectators get to see the full dying animation
* Dead players can spectate their teammates whether they are in the spawn queue or not
I corrected several nasty bugs and recoded a LOT of the patch. Potentially the "spawn without a weapon" thing may have been fixed but maybe not. There are possibly other new bugs so keep an eye out for them.
Diffstat (limited to 'src/cgame/cg_view.c')
-rw-r--r-- | src/cgame/cg_view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cgame/cg_view.c b/src/cgame/cg_view.c index 16a16478..2c718556 100644 --- a/src/cgame/cg_view.c +++ b/src/cgame/cg_view.c @@ -1052,7 +1052,8 @@ static int CG_CalcViewValues( void ) ps = &cg.predictedPlayerState; // intermission view - if( ps->pm_type == PM_INTERMISSION ) + if( ps->pm_type == PM_INTERMISSION || ps->pm_type == PM_FREEZE || + ps->pm_type == PM_SPECTATOR ) { VectorCopy( ps->origin, cg.refdef.vieworg ); VectorCopy( ps->viewangles, cg.refdefViewAngles ); |