comment/formatting tidbits
Some miscellaneous stuff I don't want to discard of lose track of. No change it actual code.
This commit is contained in:
11
src/end.c
11
src/end.c
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 end.c $NHDT-Date: 1554591224 2019/04/06 22:53:44 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.168 $ */
|
||||
/* NetHack 3.6 end.c $NHDT-Date: 1557094801 2019/05/05 22:20:01 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.170 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -500,6 +500,15 @@ int how;
|
||||
}
|
||||
|
||||
Strcpy(killer.name, buf);
|
||||
/*
|
||||
* Chicken and egg issue:
|
||||
* Ordinarily Unchanging ought to override something like this,
|
||||
* but the transformation occurs at death. With the current code,
|
||||
* the effectiveness of Unchanging stops first, but a case could
|
||||
* be made that it should last long enough to prevent undead
|
||||
* transformation. (Turning to slime isn't an issue here because
|
||||
* Unchanging prevents that from happening.)
|
||||
*/
|
||||
if (mptr->mlet == S_WRAITH)
|
||||
u.ugrave_arise = PM_WRAITH;
|
||||
else if (mptr->mlet == S_MUMMY && urace.mummynum != NON_PM)
|
||||
|
||||
Reference in New Issue
Block a user