summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 907bfbe124..0da8010083 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -42,6 +42,7 @@ static int _actual_spread_rate(cloud_type type, int spread_rate)
}
}
+#ifdef DEBUG
static bool _killer_whose_match(kill_category whose, killer_type killer)
{
switch (whose)
@@ -60,6 +61,7 @@ static bool _killer_whose_match(kill_category whose, killer_type killer)
}
return (false);
}
+#endif
static void _new_cloud( int cloud, cloud_type type, const coord_def& p,
int decay, kill_category whose, killer_type killer,