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:
Sal 2020-05-15 19:24:35 -04:00
commit ffdb12ccb0
2 changed files with 2 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}