File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ void FollowNext(gentity_t *ent) {
260260
261261 ent->client ->follow_target = e;
262262 ent->client ->follow_update = true ;
263+ ent->client ->sess .spectator_state = SPECTATOR_FOLLOW;
263264}
264265
265266void FollowPrev (gentity_t *ent) {
@@ -285,6 +286,7 @@ void FollowPrev(gentity_t *ent) {
285286
286287 ent->client ->follow_target = e;
287288 ent->client ->follow_update = true ;
289+ ent->client ->sess .spectator_state = SPECTATOR_FOLLOW;
288290}
289291
290292void FollowCycle (gentity_t *ent, int dir) {
@@ -343,6 +345,7 @@ void GetFollowTarget(gentity_t *ent) {
343345 continue ;
344346 ent->client ->follow_target = ec;
345347 ent->client ->follow_update = true ;
348+ ent->client ->sess .spectator_state = SPECTATOR_FOLLOW;
346349 UpdateChaseCam (ent);
347350 return ;
348351 }
Original file line number Diff line number Diff line change @@ -2942,6 +2942,9 @@ void ClientSpawn(gentity_t *ent) {
29422942 }
29432943 ent->client ->ps .stats [STAT_SHOW_STATUSBAR] = 1 ;
29442944
2945+ // ensure playing players are visible (clear SVF_NOCLIENT that may have been set by Entities_Reset)
2946+ ent->svflags &= ~SVF_NOCLIENT;
2947+
29452948 // [Paril-KEX] a bit of a hack, but landmark spawns can sometimes cause
29462949 // intersecting spawns, so we'll do a sanity check here...
29472950 if (spawn_from_begin) {
You can’t perform that action at this time.
0 commit comments