summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-23 19:35:20 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-23 20:30:14 +0200
commit8cc7f8f9a7940798f851d0e6b06195858589159d (patch)
tree58036c94b8c0c71ae8300ca8eaa1be0299e6ba92 /crawl-ref/source/newgame.cc
parent4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744 (diff)
downloadcrawl-ref-8cc7f8f9a7940798f851d0e6b06195858589159d.tar.gz
crawl-ref-8cc7f8f9a7940798f851d0e6b06195858589159d.zip
Renumber species_type starting from 0.
It now behaves like the other enums (e.g. job_type). I hope I got all places where SP_HUMAN == 1 was assumed.
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 464fb3e58e..b69c5468e5 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -248,7 +248,7 @@ static void _pick_random_species_and_class( bool unrestricted_only )
job_type job = JOB_UNKNOWN;
// For each valid (species, class) choose one randomly.
- for (int sp = SP_HUMAN; sp < NUM_SPECIES; sp++)
+ for (int sp = 0; sp < NUM_SPECIES; sp++)
{
// We only want draconians counted once in this loop...
// We'll add the variety lower down -- bwr