Modify getbreakob() to produce less objects - a burned giant newt corpse was turning into ~38 piles of ash!

This commit is contained in:
Rob Pearce 2016-06-09 10:52:48 +10:00
parent a4735d597c
commit 74b0e9841f
1 changed files with 1 additions and 1 deletions

View File

@ -4675,7 +4675,7 @@ int getbreakob(object_t *o, char *bigobname, char *smallobname) {
small = findot(smalloid); small = findot(smalloid);
// now find out how many big obejcts make up the wight. // now find out how many big obejcts make up the wight.
weight = getobmass(o) / 2; weight = getobmass(o) / 3;
if (big) { if (big) {
nbig = weight / big->weight; nbig = weight / big->weight;
weight -= (nbig*big->weight); weight -= (nbig*big->weight);