Skip to content
Snippets Groups Projects

Remove duplicate MobjThinker hook call

Closed Hanicef requested to merge Hanicef/SRB2Classic:remove-duplicate-mobjthinker-call into next
1 unresolved thread

For some reason, MobjThinker was invoked inside P_MobjSceneryHook even though a call to it was followed right after it in the callee. There's no reason to make a special exception here since it's already doing the same thing, so this patch removes the call inside P_MobjSceneryHook and places the call after the Lua invocation to remove the code duplication.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading