Modify getbreakob() to produce less objects - a burned giant newt corpse was turning into ~38 piles of ash!
This commit is contained in:
parent
a4735d597c
commit
74b0e9841f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue