Remove dealloc_obj b&c sanity checking

This commit is contained in:
Pasi Kallinen
2020-12-01 22:18:48 +02:00
parent 2c19db61aa
commit d79b5388ce
-4
View File
@@ -2173,10 +2173,6 @@ struct obj *obj;
panic("dealloc_obj with nobj"); panic("dealloc_obj with nobj");
if (obj->cobj) if (obj->cobj)
panic("dealloc_obj with cobj"); panic("dealloc_obj with cobj");
if (obj == uball || obj == uchain)
impossible("dealloc_obj called on %s, owornmask=%lx",
(obj == uball) ? "uball" : "uchain",
obj->owornmask);
/* free up any timers attached to the object */ /* free up any timers attached to the object */
if (obj->timed) if (obj->timed)