diff options
-rw-r--r-- | crawl-ref/source/effects.cc | 6 | ||||
-rw-r--r-- | crawl-ref/source/misc.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 250ebe19bf..9a9026ffee 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -2291,7 +2291,7 @@ static void _rot_inventory_food(long time_delta) if (you.inv[i].sub_type == CORPSE_SKELETON) continue; - if (!mons_skeleton( you.inv[i].plus )) + if (!mons_skeleton(you.inv[i].plus)) { if (you.equip[EQ_WEAPON] == i) unwield_item(); @@ -2311,9 +2311,9 @@ static void _rot_inventory_food(long time_delta) you.inv[i].special -= (time_delta / 20); if (food_is_rotten(you.inv[i]) - && (you.inv[i].special + (time_delta / 20) >= 100 )) + && (you.inv[i].special + (time_delta / 20) >= 100)) { - rotten_items.push_back(index_to_letter( i )); + rotten_items.push_back(index_to_letter(i)); } } diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index b411f205c7..2bd6b519e4 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -140,7 +140,7 @@ void turn_corpse_into_skeleton(item_def &corpse, int time) ASSERT(corpse.base_type == OBJ_CORPSES && corpse.sub_type == CORPSE_BODY); // Some monsters' corpses lack the structure to leave skeletons behind. - if (!mons_skeleton( corpse.plus )) + if (!mons_skeleton(corpse.plus)) return; // While it is possible to distinguish draconian corpses by colour, their |