summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/branch.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-09 04:54:56 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-09 04:54:56 +0200
commit6d707ecb9c19f97f6dd637656c412208708c0806 (patch)
tree496941125bc1695c020850aebb778a79db44f41c /crawl-ref/source/branch.h
parent821d609d617a047a0f8e4bf44b628db0990ba844 (diff)
downloadcrawl-ref-6d707ecb9c19f97f6dd637656c412208708c0806.tar.gz
crawl-ref-6d707ecb9c19f97f6dd637656c412208708c0806.zip
Use monster_type for mon-pick functions.
Diffstat (limited to 'crawl-ref/source/branch.h')
-rw-r--r--crawl-ref/source/branch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h
index 3f19eeb4f5..9a80e1fd4b 100644
--- a/crawl-ref/source/branch.h
+++ b/crawl-ref/source/branch.h
@@ -38,8 +38,8 @@ struct Branch
bool has_uniques;
colour_t floor_colour; // Zot needs special handling.
colour_t rock_colour;
- int (*mons_rarity_function)(int);
- int (*mons_level_function)(int);
+ int (*mons_rarity_function)(monster_type);
+ int (*mons_level_function)(monster_type);
int travel_shortcut; // Which key to press for travel.
bool dangerous_bottom_level; // bottom level is more dangerous than normal
int ambient_noise; // affects noise loudness and player stealth