Skip to content

Draft: Remove P_PreTicker

Monster Iestyn requested to merge remove-preticker into next

The title is not a meme title, this actually removes the function P_PreTicker from the code. It's not clear why it was added in the first place (it might have been a hack to fix problems with skyboxes during 2.1 development, I forget), and I've heard that Kart have already removed it long ago, so it's about time it was removed from SRB2.

What this means for Lua scripters is that hooks such as ThinkFrame will no longer be called twice before the MapLoad hook, and leveltime will be 0 only once in those hooks, rather than three times. For everyone else this may mean absolutely nothing, it's just making our code cleaner.

(This MR is currently set to Draft because it is untested and possibly may break a few things I'm not yet aware of)

Merge request reports