summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-15 16:42:04 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-15 16:42:04 +0530
commitefe1b2f075deed8ba63b2733ce63754db3be0d47 (patch)
treec7a675d8304e6625155833ba3a181e1144ec474f /crawl-ref
parentdccba09075e44f8219fafe9cef1d1025ee937400 (diff)
downloadcrawl-ref-efe1b2f075deed8ba63b2733ce63754db3be0d47.tar.gz
crawl-ref-efe1b2f075deed8ba63b2733ce63754db3be0d47.zip
Make alligator snapping turtles rarer.
Fix warning about unchecked enum constant in switch in religion.cc.
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/mon-pick.cc8
-rw-r--r--crawl-ref/source/religion.cc1
2 files changed, 7 insertions, 2 deletions
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;
}