diff options
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index f2ef0b10e1..fc0447b74f 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -94,9 +94,9 @@ void turn_corpse_into_chunks( item_def &item ) bleed_onto_floor(you.x_pos, you.y_pos, mons_class, max_chunks, true); item.base_type = OBJ_FOOD; - item.sub_type = FOOD_CHUNK; - item.quantity = 1 + random2( max_chunks ); - item.flags &= ~(ISFLAG_THROWN | ISFLAG_DROPPED); + item.sub_type = FOOD_CHUNK; + item.quantity = 1 + random2( max_chunks ); + item.flags &= ~(ISFLAG_THROWN | ISFLAG_DROPPED); item.quantity = stepdown_value( item.quantity, 4, 4, 12, 12 ); @@ -112,11 +112,11 @@ void turn_corpse_into_chunks( item_def &item ) // these values are common to all: {dlb} mitm[o].base_type = OBJ_ARMOUR; - mitm[o].plus = 0; - mitm[o].plus2 = 0; - mitm[o].special = 0; - mitm[o].flags = 0; - mitm[o].colour = mons_class_colour( mons_class ); + mitm[o].plus = 0; + mitm[o].plus2 = 0; + mitm[o].special = 0; + mitm[o].flags = 0; + mitm[o].colour = mons_class_colour( mons_class ); // these values cannot be set by a reasonable formula: {dlb} switch (mons_class) |