summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-restr.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2013-05-30 13:17:13 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2013-05-30 13:17:13 -0500
commit7c14b2386103c09f92faed258e801f296bde743d (patch)
tree5cd014d16f505da81c2b3d835311b222ab525a20 /crawl-ref/source/ng-restr.cc
parentbf2ae149358a49aad24f8b44b8834b526a761821 (diff)
downloadcrawl-ref-7c14b2386103c09f92faed258e801f296bde743d.tar.gz
crawl-ref-7c14b2386103c09f92faed258e801f296bde743d.zip
Mark grotesks as artificial beings (prohibiting their being Death Knights).
They're described as being made of stone, as statues are; as being gargoyle-like, as gargoyles are; and the code to convert player species to monster species displays them as gargoyles anyway.
Diffstat (limited to 'crawl-ref/source/ng-restr.cc')
-rw-r--r--crawl-ref/source/ng-restr.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/ng-restr.cc b/crawl-ref/source/ng-restr.cc
index 8a3466639b..7986f24428 100644
--- a/crawl-ref/source/ng-restr.cc
+++ b/crawl-ref/source/ng-restr.cc
@@ -115,6 +115,7 @@ char_choice_restriction job_allowed(species_type speci, job_type job)
switch (speci)
{
case SP_DEMIGOD:
+ case SP_GROTESK:
return CC_BANNED;
case SP_HIGH_ELF:
case SP_DEEP_ELF: