diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/enum.h | 2 | ||||
-rw-r--r-- | crawl-ref/source/newgame.cc | 3 | ||||
-rw-r--r-- | crawl-ref/source/skills2.cc | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 5c4eac3dbe..6452a0c2fd 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -3225,7 +3225,6 @@ enum special_wield_type // you.special_wield enum species_type { SP_HUMAN = 1, // 1 - SP_ELF, // (placeholder) SP_HIGH_ELF, SP_GREY_ELF, SP_DEEP_ELF, // 5 @@ -3261,6 +3260,7 @@ enum species_type SP_GHOUL, // 35 SP_KENKU, SP_MERFOLK, + SP_ELF, // (placeholder) NUM_SPECIES, // always after the last species SP_UNKNOWN = 100 diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index 5df33ee42a..6bb4b85c49 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -2963,7 +2963,8 @@ spec_query: *linebuf = 0; for (int i = SP_HUMAN; i < NUM_SPECIES; ++i) { - if (i > SP_RED_DRACONIAN && i <= SP_BASE_DRACONIAN) + if ((i > SP_RED_DRACONIAN && i <= SP_BASE_DRACONIAN) + || i == SP_ELF) continue; if (you.char_class != JOB_UNKNOWN && diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc index 2f3507eb17..0b9aac8af2 100644 --- a/crawl-ref/source/skills2.cc +++ b/crawl-ref/source/skills2.cc @@ -1674,6 +1674,9 @@ const int spec_skills[ NUM_SPECIES ][40] = (100 * 75) / 100, // SK_EVOCATIONS }, + // SP_ELF placeholder. + { + }, /* ****************************************************** |