]> granicus.if.org Git - nethack/commitdiff
Remove dealloc_obj b&c sanity checking
authorPasi Kallinen <paxed@alt.org>
Tue, 1 Dec 2020 20:18:44 +0000 (22:18 +0200)
committerPasi Kallinen <paxed@alt.org>
Tue, 1 Dec 2020 20:18:48 +0000 (22:18 +0200)
src/mkobj.c

index 4c1b810bba9c603297fa84bbf6601ab3f9905d28..07ec33b67e53a447d0fa1b9eb4b7ce679b62a5ba 100644 (file)
@@ -2173,10 +2173,6 @@ struct obj *obj;
         panic("dealloc_obj with nobj");
     if (obj->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 */
     if (obj->timed)