diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-03 16:50:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-03 16:50:47 +0000 |
commit | 58cb62c5075acaedd701cd704dc7c0ad3ad459ba (patch) | |
tree | 4cd0db85397e0f669cc745e3604e71e0514d2b68 /crawl-ref | |
parent | bae629a904179c74397ad61702f7577962c236ee (diff) | |
download | crawl-ref-58cb62c5075acaedd701cd704dc7c0ad3ad459ba.tar.gz crawl-ref-58cb62c5075acaedd701cd704dc7c0ad3ad459ba.zip |
For consistency, mark the killer bee and killer bee larva species as
native to the Hive, as opposed to just the corresponding monsters.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3175 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index b4f35b3405..5d77b3838b 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -5020,8 +5020,8 @@ static bool is_native_in_branch(const monsters *monster, const branch_type branc return false; case BRANCH_HIVE: - if (monster->type == MONS_KILLER_BEE - || monster->type == MONS_KILLER_BEE_LARVA) + if (mons_species(monster->type) == MONS_KILLER_BEE + || mons_species(monster->type) == MONS_KILLER_BEE_LARVA) { return true; } |