mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Encore mode support
This commit is contained in:
parent
a3ec4f22a1
commit
d10bfe1110
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
*hud_x = FixedMul(NEWTAN(anglediff), swhalffixed) + swhalffixed;
|
||||||
|
|
||||||
|
if (encoremode)
|
||||||
|
{
|
||||||
|
*hud_x = (BASEVIDWIDTH * FRACUNIT) - *hud_x;
|
||||||
|
}
|
||||||
|
|
||||||
if (r_splitscreen >= 2)
|
if (r_splitscreen >= 2)
|
||||||
{
|
{
|
||||||
*hud_x /= 2;
|
*hud_x /= 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue