diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-13 08:30:23 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-13 08:30:23 +0000 |
commit | b2785dc1f36e4f1dae161a3207ac25e083ba68b1 (patch) | |
tree | dc3acd27d0c2890534899f01115247839b4147ca /crawl-ref/source/view.h | |
parent | f2903290696c79d076a099db8b0eba67793ddbb9 (diff) | |
download | crawl-ref-b2785dc1f36e4f1dae161a3207ac25e083ba68b1.tar.gz crawl-ref-b2785dc1f36e4f1dae161a3207ac25e083ba68b1.zip |
Cleaned up magic mapping: the test regarding whether you can magic map
is done inside magic_mapping(), which now returns a bool success value.
Functionally: this means that the randart magic mapping power can no
longer map the Abyss or labyrinths, ditto Map card.
We can change this part back if we want.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1851 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index b48cef660b..eae097e772 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -61,11 +61,7 @@ void losight(FixedArray<unsigned int, ENV_SHOW_DIAMETER, ENV_SHOW_DIAMETER>& sh, int x_p, int y_p); -// last updated 12may2000 {dlb} -/* *********************************************************************** - * called from: ability - acr - it_use3 - item_use - spell - * *********************************************************************** */ -void magic_mapping(int map_radius, int proportion); +bool magic_mapping(int map_radius, int proportion, bool force = false); // last updated 12may2000 {dlb} |