StrataSource / FGD

The FGD + Hammer resource files for games built on Strata Source.
20 stars 15 forks source link

Remove Inputfilter base #51

Closed braem closed 3 years ago

braem commented 3 years ago

Momentum's func_momentum_brush was the only entity to use the Inputfilter base, but it was not present in code at all.

In general, this base should not be used as the functionality is much better represented as spawnflags. trigger_brush is the only entity that uses it (though without inheriting the base), and srctools nicely exposes it as a spawnflag: https://github.com/ChaosInitiative/Chaos-FGD/blob/b3bc4a0feb44a019b3ba1972ffcdc7a211e53d0e/fgd/brush/trigger/trigger_brush.fgd#L5-L21 https://github.com/TeamSpen210/srctools/blob/29fa68270afd42f6054944ecf1976d678c7c4ddd/srctools/bsp_transform/tweaks.py#L19