Skip to content

Avoid calling P_CheckMobjTrigger twice on pushables

Hanicef requested to merge Hanicef/SRB2:avoid-double-checkmobjtrigger-call into next

Pushables had their own call to P_CheckMobjTrigger, but they were also calling the generic one, so on sectors that can be triggered by any object, the trigger could potentially be invoked twice. Whenever it does, however, is nothing I've tested, but calling this twice is still unnecessary.

Edited by Hanicef

Merge request reports

Loading