summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-02-24 12:12:14 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-02-24 12:57:34 +0100
commit233146c88ed295fef87c3248f2f5fbca514984f7 (patch)
tree77b5441c93969dfb34ec2a51c6cd8d2d29175427 /crawl-ref/source/directn.h
parentba3fd8d3154a0f125dfcf805cb69a72ae8fc70f2 (diff)
downloadcrawl-ref-233146c88ed295fef87c3248f2f5fbca514984f7.tar.gz
crawl-ref-233146c88ed295fef87c3248f2f5fbca514984f7.zip
Fix clouds not being described when examining surroundings.
Also covers sanctuary and silence.
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r--crawl-ref/source/directn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index 5dbb3cd3f6..cad6f578e0 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -166,10 +166,10 @@ private:
// an orcish robe (miasma, silenced, almost dead)
// OR:
// Apport: A short sword.
- void print_target_description() const;
+ void print_target_description(bool &did_cloud) const;
// Helper functions for the above.
- void print_target_monster_description() const;
+ void print_target_monster_description(bool &did_cloud) const;
void print_target_object_description() const;
// You see 2 +3 dwarven bolts here.
@@ -250,7 +250,7 @@ private:
// Default behaviour, saved across instances.
static targeting_behaviour stock_behaviour;
-
+
};
void direction(dist &moves, const direction_chooser_args& args);