summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-08 19:47:35 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-08 19:47:35 +0000
commit470a8d2e7ee94b9f70bbb7db3e68d5faa2b41451 (patch)
tree7868b5347f4539ef1189eff0f31a5af3b34714c6 /crawl-ref/source/spl-cast.cc
parent8a7a6bec16baff41290ee02908c6032a668406ed (diff)
downloadcrawl-ref-470a8d2e7ee94b9f70bbb7db3e68d5faa2b41451.tar.gz
crawl-ref-470a8d2e7ee94b9f70bbb7db3e68d5faa2b41451.zip
Remove the 0 MP check for the 'z' command.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9923 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index ed12f894e2..a140fb30d2 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -679,12 +679,6 @@ bool cast_a_spell(bool check_range)
return (false);
}
- if (you.magic_points < 1)
- {
- mpr("You don't have enough magic to cast spells.");
- return (false);
- }
-
const int minRange = _get_dist_to_nearest_monster();
int keyin = (check_range ? 0 : '?');