Turn FollowMobj into a mobj hook
- Feb 20, 2020
-
-
Sal authored
Makes more logical sense, as if you have a custom follow item for a custom skin, you probably want your new thinker to only run for your new MT_ and not the vanilla ones.
40036680
-
Previously it was considered a player hook, which means that making it run for a specific mobj type would need to be done manually in the hook. Since FollowMobj is clearly intended for custom characters with their own follow item objects, and wanting it to run for everything is far less likely, this is a bit silly.
This should be backwards compatible with everything; anything this would technically "break" (rather, retroactively fix) are scripts that already assumed the hook had a type parameter and didn't put any checks.
Makes more logical sense, as if you have a custom follow item for a custom skin, you probably want your new thinker to only run for your new MT_ and not the vanilla ones.