mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Tally: only reset camera if viewpoint was changed
This commit is contained in:
parent
14d6477aad
commit
d8e9effbbf
1 changed files with 5 additions and 2 deletions
|
|
@ -558,8 +558,11 @@ void level_tally_t::Init(player_t *player)
|
||||||
// Battle: if this player's viewpoint has changed
|
// Battle: if this player's viewpoint has changed
|
||||||
// since being eliminated, set it back so they see
|
// since being eliminated, set it back so they see
|
||||||
// their own Tally and not someone else's.
|
// their own Tally and not someone else's.
|
||||||
displayplayers[view] = pnum;
|
if (displayplayers[view] != pnum)
|
||||||
G_FixCamera(1 + view);
|
{
|
||||||
|
displayplayers[view] = pnum;
|
||||||
|
G_FixCamera(1 + view);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue