summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-08 01:00:51 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-08 01:00:51 +0000
commitb49b73d9b3736c7dad367e7f61c78ca35787f428 (patch)
tree90b20c0aa3aef6ca3f37a367c6009221b0b14e25 /crawl-ref/source/spl-util.h
parent7fd9d9a617f65db7695d4858deed6f2cc01fd72c (diff)
downloadcrawl-ref-b49b73d9b3736c7dad367e7f61c78ca35787f428.tar.gz
crawl-ref-b49b73d9b3736c7dad367e7f61c78ca35787f428.zip
Lots and lots of type safety.
Caught a bug in the definition of shadows (isn't it lucky that BLACK == MST_NO_SPELLS?) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1788 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r--crawl-ref/source/spl-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index 3c480d8668..e64095654a 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -95,9 +95,9 @@ int apply_one_neighbouring_square(int (*func) (int, int, int, int),
int apply_area_within_radius(int (*func) (int, int, int, int),
int x, int y, int pow, int radius, int ctype);
-char spell_direction( struct dist &spelld, struct bolt &pbolt,
+bool spell_direction( dist &spelld, bolt &pbolt,
targeting_type restrict = DIR_NONE,
- int mode = TARG_ENEMY,
+ targ_mode_type mode = TARG_ENEMY,
const char *prompt = NULL );
void apply_area_cloud(int (*func) (int, int, int, cloud_type, kill_category),