From f9f37e246adbc1ae37f5e6edcb1038945a239199 Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Sat, 1 Dec 2018 23:08:42 -0500 Subject: [PATCH] Wrong color for UFO fireworks --- src/p_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_inter.c b/src/p_inter.c index 716ab0717..d7f419c93 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -650,7 +650,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck) firework->momz = toucher->momz; P_Thrust(firework, FixedAngle((72*i)<scale); 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