User:John-k/patches/AoLSquit.diff
Revision as of 20:06, 30 April 2007 by John-k (talk | contribs) (New page: This simple patch makes the Amulet of life saving save you from #quit-ing <br> <pre> diff -Nurd nethack-3.4.3-orig/src/end.c nethack-3.4.3-savequit/src/end.c --- nethack-3.4.3-orig/src...)
This simple patch makes the Amulet of life saving save you from #quit-ing
diff -Nurd nethack-3.4.3-orig/src/end.c nethack-3.4.3-savequit/src/end.c --- nethack-3.4.3-orig/src/end.c 2003-12-08 00:39:13.000000000 +0100 +++ nethack-3.4.3-savequit/src/end.c 2007-04-30 21:27:33.000000000 +0200 @@ -570,7 +570,7 @@ killer = kilbuf; if (how < PANICKED) u.umortality++; - if (Lifesaved && (how <= GENOCIDED)) { + if (Lifesaved && ((how <= GENOCIDED) || how == QUIT)) { pline("But wait..."); makeknown(AMULET_OF_LIFE_SAVING); Your("medallion %s!",