Merge branch 'fix-gachabom-color' into 'master'

Set Gachabom explosion color to player skincolor

Closes #1103

See merge request KartKrew/Kart!1995
This commit is contained in:
Oni 2024-03-03 08:09:50 +00:00
commit 6dbc093516

View file

@ -228,7 +228,7 @@ void Obj_SpawnGachaBomRebound(mobj_t* source, mobj_t* target)
{
mobj_t *x = P_SpawnMobjFromMobjUnscaled(source, 0, 0, target->height / 2, MT_GACHABOM_REBOUND);
x->color = target->color;
x->color = target->player ? target->player->skincolor : target->color;
x->angle = angle;
if (!(gametyperules & GTR_BUMPERS) || battleprisons)