mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +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
ffdb12ccb0
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->momy = 3*player->mo->momy/4;
|
||||
fast->momz = 3*player->mo->momz/4;
|
||||
P_SetTarget(&fast->target, player->mo); // easier lua access
|
||||
K_MatchGenericExtraFlags(fast, player->mo);
|
||||
}
|
||||
|
||||
|
|
|
@ -8517,6 +8517,7 @@ void A_SPBChase(mobj_t *actor)
|
|||
//fast->momz = (3*actor->momz)/4;
|
||||
fast->color = SKINCOLOR_RED;
|
||||
fast->colorized = true;
|
||||
P_SetTarget(&fast->target, actor); // easier lua access
|
||||
K_MatchGenericExtraFlags(fast, actor);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue