diff options
-rw-r--r-- | crawl-ref/source/effects.cc | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 7fd6a699ba..c1b5a4eaa9 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -2987,7 +2987,6 @@ static void _rot_inventory_food(long time_delta) std::vector<char> rotten_items; int num_chunks = 0; - int num_chunks_rotting = 0; int num_chunks_gone = 0; int num_bones = 0; int num_bones_gone = 0; @@ -3071,15 +3070,6 @@ static void _rot_inventory_food(long time_delta) { rotten_items.push_back(index_to_letter(i)); } - - if (item.base_type == OBJ_FOOD && you.inv[i].special <= 10 - && !item.props.exists(ROTTING_WARNED_KEY)) - { - // In case time_delta >= 220 - item.props[ROTTING_WARNED_KEY] = true; - - num_chunks_rotting++; - } } //mv: messages when chunks/corpses become rotten @@ -3178,22 +3168,12 @@ static void _rot_inventory_food(long time_delta) } else msg += "completely or partially "; - + msg += "rotted away."; mprf(MSGCH_ROTTEN_MEAT, "%s", msg.c_str()); } burden_change(); } - - num_chunks -= num_chunks_gone; - if (num_chunks_rotting > 0) - { - mprf(MSGCH_ROTTEN_MEAT, - "%s of the %schunks of flesh in your inventory are close to " - "completely rotting away.", - num_chunks_rotting < num_chunks ? "Some" : "All", - num_chunks_gone > 0 ? "remaining " : ""); - } } // Do various time related actions... |