mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 22:00:50 +00:00
Wrong color for UFO fireworks
This commit is contained in:
parent
15b05f6e75
commit
d125f7cc2d
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
firework->momz = toucher->momz;
|
firework->momz = toucher->momz;
|
||||||
P_Thrust(firework, FixedAngle((72*i)<<FRACBITS), P_RandomRange(1,8)*special->scale);
|
P_Thrust(firework, FixedAngle((72*i)<<FRACBITS), P_RandomRange(1,8)*special->scale);
|
||||||
P_SetObjectMomZ(firework, P_RandomRange(1,8)*special->scale, false);
|
P_SetObjectMomZ(firework, P_RandomRange(1,8)*special->scale, false);
|
||||||
firework->color = special->target->color;
|
firework->color = toucher->color;
|
||||||
}
|
}
|
||||||
|
|
||||||
S_StartSound(toucher, sfx_cdfm73); // they don't make this sound in the original game but it's nice to have a "reward" for good play
|
S_StartSound(toucher, sfx_cdfm73); // they don't make this sound in the original game but it's nice to have a "reward" for good play
|
||||||
|
|
Loading…
Reference in a new issue