diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-04-26 12:56:10 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-04-26 17:03:18 +0200 |
commit | 22924f822b64908584a7e8b375d78b4df88dc8bb (patch) | |
tree | 3ef63921cafd763eebd4fd6cb221a0b1a26be332 /crawl-ref/source/dactions.cc | |
parent | 951147111c22476f969ac26c037ff98b03ecf584 (diff) | |
download | crawl-ref-22924f822b64908584a7e8b375d78b4df88dc8bb.tar.gz crawl-ref-22924f822b64908584a7e8b375d78b4df88dc8bb.zip |
Make a function static.
Diffstat (limited to 'crawl-ref/source/dactions.cc')
-rw-r--r-- | crawl-ref/source/dactions.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/dactions.cc b/crawl-ref/source/dactions.cc index dc6647aab1..c8c096c3d9 100644 --- a/crawl-ref/source/dactions.cc +++ b/crawl-ref/source/dactions.cc @@ -23,6 +23,8 @@ #include "travel.h" #include "view.h" +static void _daction_hog_to_human(monster *mon); + #ifdef DEBUG_DIAGNOSTICS static const char *daction_names[] = { @@ -215,7 +217,7 @@ void apply_daction_to_mons(monster* mon, daction_type act, bool local) break; case DACT_KIRKE_HOGS: - daction_hog_to_human(mon); + _daction_hog_to_human(mon); break; // The other dactions do not affect monsters directly. @@ -292,7 +294,7 @@ unsigned int query_da_counter(daction_type c) return travel_cache.query_da_counter(c) + count_daction_in_transit(c); } -void daction_hog_to_human(monster *mon) +static void _daction_hog_to_human(monster *mon) { // Hogs to humans monster orig; |