fixes entry for pull-req #643 - historic statues
monstone() was using a hardcoded value when flagging the statue of
a unique monster as historic and didn't get updated when the corpse
and statue flags kept in obj->spe were changed last June by commit
04a8ddcce1.
Closes #643
This commit is contained in:
@@ -927,6 +927,9 @@ in wizard mode, a poly'd priest/priestess attempting to polymorph into priest
|
||||
because "priest" matched "aligned cleric" rather than the role monster
|
||||
if a glob which has just shrunk away to nothing was wielded or quivered,
|
||||
unwield it before destroying it
|
||||
after changes to gender tracking for corpses and statues, when a unique
|
||||
monster got turned into a statue if was erroneouly flagged as female
|
||||
rather than 'historic'
|
||||
|
||||
curses: 'msg_window' option wasn't functional for curses unless the binary
|
||||
also included tty support
|
||||
|
||||
@@ -2696,6 +2696,7 @@ monstone(struct monst* mdef)
|
||||
if ((int) mdef->data->msize > MZ_TINY
|
||||
|| !rn2(2 + ((int) (mdef->data->geno & G_FREQ) > 2))) {
|
||||
unsigned corpstatflags = CORPSTAT_NONE;
|
||||
|
||||
oldminvent = 0;
|
||||
/* some objects may end up outside the statue */
|
||||
while ((obj = mdef->minvent) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user