gi.invalid_obj -> hands_obj

This commit is contained in:
nhmall
2023-11-11 19:49:38 -05:00
parent 47bca92e6c
commit 76d328d86a
15 changed files with 40 additions and 34 deletions

View File

@@ -2631,6 +2631,10 @@ dealloc_obj(struct obj *obj)
panic("dealloc_obj with nobj");
if (obj->cobj)
panic("dealloc_obj with cobj");
if (obj == &hands_obj) {
impossible("dealloc_obj with hands_obj");
return;
}
/* free up any timers attached to the object */
if (obj->timed)