From f327c6b8b5bf2f375204348f0d08858733748ac4 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 25 Sep 2006 20:54:41 +0000 Subject: 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 --- crawl-ref/source/spl-cast.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf