mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
No tethering off of the person who got the start boost
This commit is contained in:
parent
c685f45563
commit
dfe4d4a219
1 changed files with 4 additions and 0 deletions
|
|
@ -1439,6 +1439,10 @@ static void K_UpdateDraft(player_t *player)
|
||||||
if (players[i].speed < 20*players[i].mo->scale)
|
if (players[i].speed < 20*players[i].mo->scale)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// No tethering off of the guy who got the starting bonus :P
|
||||||
|
if (players[i].kartstuff[k_startboost] > 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
#ifndef EASYDRAFTTEST
|
#ifndef EASYDRAFTTEST
|
||||||
yourangle = R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy);
|
yourangle = R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy);
|
||||||
theirangle = R_PointToAngle2(0, 0, players[i].mo->momx, players[i].mo->momy);
|
theirangle = R_PointToAngle2(0, 0, players[i].mo->momx, players[i].mo->momy);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue