summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-01 14:47:53 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-05-01 14:47:53 +0000
commit106fb6de1cf3523c10197dc8e02ec44e94523f18 (patch)
treebe6eba2338470be1467fc89131f20d80878a4906 /crawl-ref/source/spells1.cc
parent83043ea070b1f45c5cad9c7ad1f1844a01079809 (diff)
downloadcrawl-ref-106fb6de1cf3523c10197dc8e02ec44e94523f18.tar.gz
crawl-ref-106fb6de1cf3523c10197dc8e02ec44e94523f18.zip
Type safety, cast cleanups, etc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1401 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 76c3ca13a1..03351e2ff0 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -473,18 +473,18 @@ int stinking_cloud( int pow, bolt &beem )
return (1);
} // end stinking_cloud()
-int cast_big_c(int pow, int cty, kill_category whose, bolt &beam)
+int cast_big_c(int pow, cloud_type cty, kill_category whose, bolt &beam)
{
big_cloud( cty, whose,
beam.target_x, beam.target_y, pow, 8 + random2(3) );
return (1);
} // end cast_big_c()
-void big_cloud(int cloud_type, kill_category whose,
+void big_cloud(cloud_type cl_type, kill_category whose,
int cl_x, int cl_y, int pow, int size)
{
apply_area_cloud(make_a_normal_cloud, cl_x, cl_y, pow, size,
- cloud_type, whose);
+ cl_type, whose);
} // end big_cloud()
static int healing_spell( int healed )