mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
6dbc093516
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
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;
|
x->angle = angle;
|
||||||
|
|
||||||
if (!(gametyperules & GTR_BUMPERS) || battleprisons)
|
if (!(gametyperules & GTR_BUMPERS) || battleprisons)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue