addHook("PlayerThink", function(p)
	if p.mo
	and p.mo.valid then
		p.mo.pmomz = 0 -- i'm so fucking stupid. I JUST NOW NOTICED it should be p.mo.pmomz and not p.pmomz  ON APRIL 3 2026.
	end
end)

local mobjhook = function(mo)
	if mo.pmomz
	and mo.type ~= MT_PLAYER then
		mo.pmomz = 0
	end
end
for i = 1,#mobjinfo-1 do
	addHook("MobjThinker", mobjhook, i) -- fixes deprecation warning as these cant be nil anymore
end
--2.0 didn't have the upwards/downwards momentum from FOFs
--so, set that momentum to 0 at all times.