diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-23 19:17:05 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-23 20:30:14 +0200 |
commit | 4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744 (patch) | |
tree | acd6b6367d5273c841b1da5f32931ebf97b7d425 /crawl-ref/source/newgame.cc | |
parent | 921c44bb1d1e0ddea50fffe518a214f626a9d11b (diff) | |
download | crawl-ref-4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744.tar.gz crawl-ref-4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744.zip |
Use species_type/job_type instead of int.
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r-- | crawl-ref/source/newgame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc index ffcfb01e4f..464fb3e58e 100644 --- a/crawl-ref/source/newgame.cc +++ b/crawl-ref/source/newgame.cc @@ -149,13 +149,13 @@ static bool _prev_startup_options_set(void) static std::string _get_opt_race_name(char race) { species_type prace = get_species(letter_to_index(race)); - return (prace == SP_UNKNOWN? "Random" : species_name(prace, 1)); + return (prace == SP_UNKNOWN ? "Random" : species_name(prace, 1)); } static std::string _get_opt_class_name(char oclass) { job_type pclass = get_class(letter_to_index(oclass)); - return (pclass == JOB_UNKNOWN? "Random" : get_class_name(pclass)); + return (pclass == JOB_UNKNOWN ? "Random" : get_class_name(pclass)); } static std::string _prev_startup_description(void) |