diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-25 20:54:41 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-09-25 20:54:41 +0000 |
commit | f327c6b8b5bf2f375204348f0d08858733748ac4 (patch) | |
tree | 496e8a48b252e6f32c48eaea2d08745734b83e3b | |
parent | c8619c93241cae274335d877f3bce7965639da2b (diff) | |
download | crawl-ref-f327c6b8b5bf2f375204348f0d08858733748ac4.tar.gz crawl-ref-f327c6b8b5bf2f375204348f0d08858733748ac4.zip |
Fixed bug 1565279: you can now cast spells on capital letters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@117 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index de03254986..1a97aeb7d5 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -568,7 +568,7 @@ bool cast_a_spell(void) if (unthing == 2) return (false); - if (unthing >= 'a' && unthing <= 'y') + if ( isalpha(unthing) ) { keyin = unthing; break; |