summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-20 16:23:53 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-20 16:23:53 +0000
commit807b16ee9dc296c2e04f6985031fabccd0389463 (patch)
tree73ac98110ab961798e0d448432b77521132e06d4
parent2971eb60b2a6b98ecc4c9ab3d3958ec732fc6f01 (diff)
downloadcrawl-ref-807b16ee9dc296c2e04f6985031fabccd0389463.tar.gz
crawl-ref-807b16ee9dc296c2e04f6985031fabccd0389463.zip
Also remove the "chunks about to rot away" warning in trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10008 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/effects.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 764e8abc3e..fa5515efa4 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
@@ -3184,16 +3174,6 @@ static void _rot_inventory_food(long time_delta)
}
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...