diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-24 09:57:33 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-24 09:57:49 +0200 |
commit | 9d69ea03a92d200d047531e5c288274dcc7a2690 (patch) | |
tree | f50d8c43d6fc023f7a45c5e28f99cadaf8170875 /crawl-ref/source/species.cc | |
parent | 9c08ad575dfa4fbfcbdff5280a582a7846094f60 (diff) | |
download | crawl-ref-9d69ea03a92d200d047531e5c288274dcc7a2690.tar.gz crawl-ref-9d69ea03a92d200d047531e5c288274dcc7a2690.zip |
Fix Humans not being selectable on character selection.
Diffstat (limited to 'crawl-ref/source/species.cc')
-rw-r--r-- | crawl-ref/source/species.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/species.cc b/crawl-ref/source/species.cc index 02cc3f4c38..cc01bba653 100644 --- a/crawl-ref/source/species.cc +++ b/crawl-ref/source/species.cc @@ -96,7 +96,7 @@ int get_species_index_by_abbrev(const char *abbrev) return (-1); } -int get_species_index_by_name( const char *name ) +int get_species_index_by_name(const char *name) { unsigned int i; int sp = -1; @@ -115,7 +115,7 @@ int get_species_index_by_name( const char *name ) const std::string lowered_species = lowercase_string(species_name(real_sp,1)); - pos = lowered_species.find( lowered_buff ); + pos = lowered_species.find(lowered_buff); if (pos != std::string::npos) { sp = i; |