Skip to content

Pushables can steal Brak's electric barrier

srb20003

Looking at the source code, this appears to be caused by a feature where a pushable's target is set to the object that's pushing it, limited to either a player or another pushable. Since Brak's electric barrier has the MF_PUSHABLE flag, it sets its target to any pushable that collides with it. The electric barrier uses A_CapeChase which automatically snaps the barrier's position to its target.

A possible solution would be to use the tracer variable instead, since A_CapeChase does have support for it. However, this could break compatibility with some addons.