summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-12 19:47:19 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-12 19:47:19 +0200
commit2495f7b7d5bc09feaea3d8a0bf148e2fcf7ff5a7 (patch)
treefc1017275df35eae27e3064f0a95cd77e8a0be85 /crawl-ref/source/describe.cc
parentda18f9c37962f38437a58562503b11c9a37078bf (diff)
downloadcrawl-ref-2495f7b7d5bc09feaea3d8a0bf148e2fcf7ff5a7.tar.gz
crawl-ref-2495f7b7d5bc09feaea3d8a0bf148e2fcf7ff5a7.zip
Don't say that plants are "very slow", say they can't move instead.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 462320deee..e763b1bbd7 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2688,6 +2688,9 @@ static std::string _monster_stat_description(const monsters& mon)
if (mons_immune_magic(&mon))
result << pronoun << " is immune to magical enchantments.$";
+ if (mons_class_flag(mon.type, M_STATIONARY))
+ result << pronoun << " cannot move.$";
+
// These differ between ghost demon monsters, so would be spoily.
if (!mons_is_ghost_demon(mon.type))
{
@@ -2699,7 +2702,7 @@ static std::string _monster_stat_description(const monsters& mon)
// Unusual monster speed.
const int speed = mons_base_speed(&mon);
- if (speed != 10)
+ if (speed != 10 && speed != 0)
{
result << pronoun << " is ";
if (speed < 7)