diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-20 15:09:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-20 15:09:47 +0000 |
commit | 289f3c751503752b802196bd16b212c0beb7e15b (patch) | |
tree | ae13af6575be0a0ffd39b97072d2eb315af90e8e /crawl-ref/source/player.cc | |
parent | 4fedf6f33f6055c6e2b9fd7b15694f09ae683c85 (diff) | |
download | crawl-ref-289f3c751503752b802196bd16b212c0beb7e15b.tar.gz crawl-ref-289f3c751503752b802196bd16b212c0beb7e15b.zip |
Simplify species_exp_mod() a bit.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3307 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index bd21ba6392..be4301c440 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3975,9 +3975,8 @@ static int species_exp_mod(species_type species) return 14; else if (player_genus(GENPC_DWARVEN, species)) return 13; + switch (species) { - switch (species) - { case SP_HUMAN: case SP_HALFLING: case SP_HILL_ORC: @@ -4010,7 +4009,6 @@ static int species_exp_mod(species_type species) return 16; default: return 0; - } } } // end species_exp_mod() |