very old death drop bug

From an entry in $cvsroot/shared/bugs/buglist From a bug report:
when item weights were all scaled up by a factor of 10 for 3.1.0, the
code controlling random item drops by monsters still limited small ones
to dropping things of 3 weight units of less.  Scale that up to 30.
This commit is contained in:
nethack.rankin
2007-06-21 02:15:26 +00:00
parent b93175b125
commit d34e557df5
2 changed files with 2 additions and 1 deletions

View File

@@ -2027,7 +2027,7 @@ int dest;
otyp = otmp->otyp;
if (mdat->msize < MZ_HUMAN && otyp != FOOD_RATION &&
otyp != LEASH && otyp != FIGURINE &&
(otmp->owt > 3 ||
(otmp->owt > 30 ||
objects[otyp].oc_big /*oc_bimanual/oc_bulky*/ ||
is_spear(otmp) || is_pole(otmp) ||
otyp == MORNING_STAR)) {