Flickering hud elements (spraycan aura, super flicky) are instead transparent with reducevfx.

This commit is contained in:
FreakyMutantMan 2024-12-15 13:33:07 -08:00 committed by Eidolon
parent ab2bc061d6
commit d8b0720228

View file

@ -454,7 +454,11 @@ Visibility is_object_visible(const mobj_t* mobj)
case MT_SPRAYCAN:
case MT_SUPER_FLICKY:
// Always flickers.
return Visibility::kFlicker;
// Actually no, it gave my friend a migraine, this will *not* always flicker
if (cv_reducevfx.value)
return Visibility::kTransparent;
else
return Visibility::kFlicker;
default:
// Transparent when not visible.