Invalid mobjs continue running their MobjThinker hooks for the same frame they are removed
If, for example, you have two MobjThinker hooks, and the first one removes the object it is operating with, the object will still call the second MobjThinker hook despite no longer being valid.
Pretty sure that isn't supposed to happen.
.
invalidtest.wad - Example WAD creates a custom object and adds the command funny
which spawns one instance of it.
MT_FUNNY
has two MobjThinker hooks - One removes the mobj, the second prints the result of querying its valid
attribute. Both run.