Replace assert with return in slidemove old

This commit is contained in:
NepDisk 2025-09-14 01:43:30 -04:00
parent 72596e8d03
commit 95eea4d1af

View file

@ -3519,7 +3519,8 @@ void P_SlideMoveOLD(mobj_t *mo)
memset(&junk, 0x00, sizeof(junk));
I_Assert(!P_MobjWasRemoved(mo));
if (P_MobjWasRemoved(mo))
return;
if (g_tm.hitthing && mo->z + mo->height > g_tm.hitthing->z && mo->z < g_tm.hitthing->z + g_tm.hitthing->height)
{