From efe1b2f075deed8ba63b2733ce63754db3be0d47 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Fri, 15 Jan 2010 16:42:04 +0530 Subject: Make alligator snapping turtles rarer. Fix warning about unchecked enum constant in switch in religion.cc. --- crawl-ref/source/mon-pick.cc | 8 ++++++-- crawl-ref/source/religion.cc | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/mon-pick.cc b/crawl-ref/source/mon-pick.cc index 4b3192570f..86c1e50a38 100644 --- a/crawl-ref/source/mon-pick.cc +++ b/crawl-ref/source/mon-pick.cc @@ -1721,13 +1721,16 @@ int mons_shoals_level(int mcls) case MONS_MERFOLK_IMPALER: case MONS_MERFOLK_AQUAMANCER: case MONS_MERFOLK_JAVELINEER: - case MONS_ALLIGATOR_SNAPPING_TURTLE: case MONS_OKLOB_PLANT: case MONS_SHARK: case MONS_KRAKEN: mlev += 3; break; + case MONS_ALLIGATOR_SNAPPING_TURTLE: + mlev += 4; + break; + default: mlev += 99; } @@ -1766,12 +1769,13 @@ int mons_shoals_rare(int mcls) return 20; case MONS_SHARK: - case MONS_ALLIGATOR_SNAPPING_TURTLE: return 18; case MONS_OKLOB_PLANT: case MONS_KRAKEN: + case MONS_ALLIGATOR_SNAPPING_TURTLE: return 10; + default: return 0; } diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index aacf5f0b55..86d70a024c 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3410,6 +3410,7 @@ bool did_god_conduct(conduct_type thing_done, int level, bool known, case DID_EAT_MEAT: // unused case DID_CREATE_LIFE: // unused case DID_SPELL_NONUTILITY: // unused + case DID_DEDICATED_BUTCHERY: // unused case NUM_CONDUCTS: break; } -- cgit v1.2.3-54-g00ecf