set the ghostly bit in a list of objects */
| 781 | |
| 782 | /* set the ghostly bit in a list of objects */ |
| 783 | staticfn void |
| 784 | set_ghostly_objlist(struct obj *objchain) |
| 785 | { |
| 786 | while (objchain) { |
| 787 | objchain->ghostly = 1; |
| 788 | objchain = objchain->nobj; |
| 789 | } |
| 790 | } |
| 791 | |
| 792 | /* This is called when a marked object from a bones file is picked-up. |
| 793 | Some could result in a message, and the obj->ghostly flag is always |