fix pull request #548 - encumbrance feedback
when polymorphing into "new man". Characteristic stats are shuffled if turning into new man, but when already polymorphed those get overridden by the old pre-polymorph characteristics, resulting in another encumbrance check which might contradict the one that just happened. Skip the encumbrance check done when shuffling stats so that there's only one and it comes after all changes are finished. Fixes #548
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 attrib.c $NHDT-Date: 1596498149 2020/08/03 23:42:29 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.75 $ */
|
||||
/* NetHack 3.7 attrib.c $NHDT-Date: 1626312521 2021/07/15 01:28:41 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.79 $ */
|
||||
/* Copyright 1988, 1989, 1990, 1992, M. Stephenson */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -673,7 +673,7 @@ redist_attr(void)
|
||||
if (ABASE(i) < ATTRMIN(i))
|
||||
ABASE(i) = ATTRMIN(i);
|
||||
}
|
||||
(void) encumber_msg();
|
||||
/* (void) encumber_msg(); -- caller needs to do this */
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user