Let Bubble Reflect rocks

This commit is contained in:
NepDisk 2025-08-26 14:40:54 -04:00
parent 5f12bcc4e7
commit 2a66e0811e

View file

@ -1976,7 +1976,7 @@ fixed_t K_GetMobjWeight(mobj_t *mobj, mobj_t *against)
case MT_FALLINGROCK:
if (against->player)
{
if (against->player->invincibilitytimer || against->player->growshrinktimer > 0)
if (against->player->invincibilitytimer || against->player->growshrinktimer > 0 || (K_GetShieldFromPlayer(against->player) == KSHIELD_BUBBLE))
weight = 0;
else
weight = K_PlayerWeight(against, NULL);