mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
The one line hookup
This commit is contained in:
parent
b610353699
commit
633ffb6195
1 changed files with 2 additions and 2 deletions
|
|
@ -12650,12 +12650,12 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
ring->shadowscale = 0;
|
||||
P_SetTarget(&ring->target, player->mo); // user
|
||||
|
||||
if (player->follower != NULL
|
||||
if (player->autoring
|
||||
&& player->follower != NULL
|
||||
&& P_MobjWasRemoved(player->follower) == false
|
||||
&& player->followerskin >= 0
|
||||
&& player->followerskin < numfollowers)
|
||||
{
|
||||
// TODO: only do when using an auto-ring
|
||||
const follower_t *fl = &followers[player->followerskin];
|
||||
|
||||
ring->cusval = player->follower->x - player->mo->x;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue