Don't allow model rendering on Ring Shooter face overlay

This commit is contained in:
SteelT 2024-01-22 21:37:11 -05:00
parent a4c6b3a077
commit 626d39870b

View file

@ -1189,6 +1189,10 @@ static boolean HWR_AllowModel(mobj_t *mobj)
if (mobj->state-states == S_KART_SIGN)
return false;
// Ring Shooter face overlay, don't allow.
if (mobj->sprite2 == SPR2_XTRA)
return false;
// Otherwise, render the model.
return true;
}