diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-12 06:11:11 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-12 06:11:11 +0000 |
commit | 7048b8fc932d93367720044a9e4d9f837cdd7b62 (patch) | |
tree | 34a7ca4f3558a9253dd97b39f27e62724105e198 /crawl-ref/source/newgame.cc | |
parent | 70ddc82fc900a147e25e0c273a657f3abe891e83 (diff) | |
download | crawl-ref-7048b8fc932d93367720044a9e4d9f837cdd7b62.tar.gz crawl-ref-7048b8fc932d93367720044a9e4d9f837cdd7b62.zip |
Recalculate permanent mutations when changing species, but leave non-permanent
mutations in place.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5753 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r-- | crawl-ref/source/newgame.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index 42a3623a76..1aee867768 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -112,7 +112,6 @@ static bool _choose_weapon(void); static void _enter_player_name(bool blankOK); static void _give_basic_knowledge(job_type which_job); static void _give_basic_spells(job_type which_job); -static void _give_basic_mutations(species_type speci); static void _give_last_paycheck(job_type which_job); static void _init_player(void); static void _jobs_stat_init(job_type which_job); @@ -1303,7 +1302,7 @@ game_start: // tmpfile purging removed in favour of marking tmp_file_pairs.init(false); - _give_basic_mutations(you.species); + give_basic_mutations(you.species); _initialise_branch_depths(); _save_newgame_options(); @@ -2272,7 +2271,7 @@ static void _jobs_stat_init(job_type which_job) set_mp( mp, true ); } -static void _give_basic_mutations(species_type speci) +void give_basic_mutations(species_type speci) { // We should switch over to a size-based system // for the fast/slow metabolism when we get around to it. |