mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
Reaper will repeat chain sound + 1 small targetting bugfix
This commit is contained in:
parent
553013ddbf
commit
0874e6bb8e
1 changed files with 5 additions and 1 deletions
|
@ -8674,6 +8674,10 @@ void A_ReaperThinker(mobj_t *actor)
|
|||
if (!(leveltime%5))
|
||||
actor->extravalue2 = (actor->extravalue2 < 9) ? (actor->extravalue2+1) : (0); // Ghetto animation, but hey it works for what it's worth
|
||||
|
||||
// Chain sfx
|
||||
if (!S_SoundPlaying(actor, sfx_chain))
|
||||
S_StartSound(actor, sfx_chain);
|
||||
|
||||
actor->frame = actor->extravalue2; // yes i'm that bad at maths don't @ me.
|
||||
|
||||
if (!actor->target)
|
||||
|
@ -8720,7 +8724,7 @@ void A_ReaperThinker(mobj_t *actor)
|
|||
if (!playeringame[i])
|
||||
continue;
|
||||
|
||||
player = &players[actor->lastlook];
|
||||
player = &players[i];
|
||||
if (player && player->mo && player->kartstuff[k_bumper] && player->score >= maxscore)
|
||||
{
|
||||
targetplayermo = player->mo;
|
||||
|
|
Loading…
Reference in a new issue