Encore mode support

This commit is contained in:
Sally Coolatta 2020-06-04 00:09:30 -04:00
parent a3ec4f22a1
commit d10bfe1110

View file

@ -10026,6 +10026,11 @@ static void K_ObjectTracking(fixed_t *hud_x, fixed_t *hud_y, vertex_t *campos, a
{
*hud_x = FixedMul(NEWTAN(anglediff), swhalffixed) + swhalffixed;
if (encoremode)
{
*hud_x = (BASEVIDWIDTH * FRACUNIT) - *hud_x;
}
if (r_splitscreen >= 2)
{
*hud_x /= 2;