]> granicus.if.org Git - nethack/commit
Fix sleep explosion causing impossible().
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Sun, 24 May 2015 12:40:31 +0000 (21:40 +0900)
committernhmall <mjnh@persona.ca>
Sun, 24 May 2015 13:24:11 +0000 (09:24 -0400)
commit6aaece4ba7a811a70368a53a13e4845169656fa9
tree2500e8d2b59bccbcec7b4e7b8a166b4bcf670a8c
parent137bc4a493a026b13d43cb547356d99f87c0e238
Fix sleep explosion causing impossible().

Also clean up come ternaries while I'm here.

My first attempt to fix was to add AD_SLEE to explode(), but that failed
because do_break_wand() already does the sleeping portion. I don't
generally like the duplication between explode() and do_break_wand as a
result, but I consider that issue a project for another day.
src/explode.c