Skip to content

Commit

Permalink
Fix broken viewangles with ‘spectator 1’.
Browse files Browse the repository at this point in the history
Broken by commit 65061f5.
  • Loading branch information
skullernet committed Jul 16, 2024
1 parent 9179c2d commit cb4f6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/p_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ void ClientBeginDeathmatch(edict_t *ent)

if (level.intermission_framenum) {
MoveClientToIntermission(ent);
} else {
} else if (!ent->client->pers.spectator) {
// send effect
gi.WriteByte(svc_muzzleflash);
gi.WriteShort(ent - g_edicts);
Expand Down

0 comments on commit cb4f6f8

Please sign in to comment.