mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 15:32:45 +00:00
Merge branch 'fastline-identification' into 'next'
Add targets to MT_FASTLINEs that are spawned See merge request KartKrew/Kart-Public!169
This commit is contained in:
commit
35fb7154a1
2 changed files with 2 additions and 0 deletions
|
|
@ -4490,6 +4490,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
fast->momx = 3*player->mo->momx/4;
|
fast->momx = 3*player->mo->momx/4;
|
||||||
fast->momy = 3*player->mo->momy/4;
|
fast->momy = 3*player->mo->momy/4;
|
||||||
fast->momz = 3*player->mo->momz/4;
|
fast->momz = 3*player->mo->momz/4;
|
||||||
|
P_SetTarget(&fast->target, player->mo); // easier lua access
|
||||||
K_MatchGenericExtraFlags(fast, player->mo);
|
K_MatchGenericExtraFlags(fast, player->mo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8517,6 +8517,7 @@ void A_SPBChase(mobj_t *actor)
|
||||||
//fast->momz = (3*actor->momz)/4;
|
//fast->momz = (3*actor->momz)/4;
|
||||||
fast->color = SKINCOLOR_RED;
|
fast->color = SKINCOLOR_RED;
|
||||||
fast->colorized = true;
|
fast->colorized = true;
|
||||||
|
P_SetTarget(&fast->target, actor); // easier lua access
|
||||||
K_MatchGenericExtraFlags(fast, actor);
|
K_MatchGenericExtraFlags(fast, actor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue