mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Allow mentalsonic to affect things targeting players
This commit is contained in:
parent
0c6820b350
commit
4b245b7a85
1 changed files with 1 additions and 1 deletions
|
|
@ -5984,7 +5984,7 @@ void K_Squish(mobj_t *mo)
|
||||||
mo->spriteyscale =
|
mo->spriteyscale =
|
||||||
FixedDiv(FRACUNIT, mo->spritexscale);
|
FixedDiv(FRACUNIT, mo->spritexscale);
|
||||||
|
|
||||||
if (cv_mentalsonic.value && mo->type == MT_PLAYER)
|
if (cv_mentalsonic.value && (mo->type == MT_PLAYER || (!P_MobjWasRemoved(mo->target) && mo->target->type == MT_PLAYER)))
|
||||||
mo->spriteyscale *= 2;
|
mo->spriteyscale *= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue