Replace assert with return in slidemove old
This commit is contained in:
parent
72596e8d03
commit
95eea4d1af
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue