]> granicus.if.org Git - nethack/commit
retouch_equipment() bypass handling
authornethack.rankin <nethack.rankin>
Thu, 7 Nov 2013 01:03:16 +0000 (01:03 +0000)
committernethack.rankin <nethack.rankin>
Thu, 7 Nov 2013 01:03:16 +0000 (01:03 +0000)
commit5cc7f32044a8ab688a09f863617cdf6c1794b880
treee4c291a46a3cfe305da613d74d286d28148753c7
parente8e291b018f9d56acb1cc18d7204697512137109
retouch_equipment() bypass handling

     Simplify retouch_equipment (post-3.4.3.code, called when hero
changes alignment or turns into a silver-hating critter; inventory
traversal must cope with the possibility of losing object->nobj when
processing object) by switching to recently added object->bypass code.
src/artifact.c