diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-04-22 11:13:49 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-04-22 11:13:49 +0200 |
commit | 33eb4bb65b0be194cf75a22f095f1b81787000ce (patch) | |
tree | e00798f86887340e7821ba8b1e05e72b96e8d1ee /crawl-ref/source/ng-input.h | |
parent | c0e0b5cdb614090bd62b926681827bff29b4d0e3 (diff) | |
download | crawl-ref-33eb4bb65b0be194cf75a22f095f1b81787000ce.tar.gz crawl-ref-33eb4bb65b0be194cf75a22f095f1b81787000ce.zip |
Don't modify name in is_good_name().
In particular, don't replace blank names with Options.prev_name.
This means that we can now just use a blank name if we want to
ask for the name later.
Diffstat (limited to 'crawl-ref/source/ng-input.h')
-rw-r--r-- | crawl-ref/source/ng-input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ng-input.h b/crawl-ref/source/ng-input.h index 268b899162..37da5f3fcc 100644 --- a/crawl-ref/source/ng-input.h +++ b/crawl-ref/source/ng-input.h @@ -5,7 +5,7 @@ struct newgame_def; void opening_screen(); bool validate_player_name(const std::string &name, bool verbose); -bool is_good_name(std::string &name, bool blankOK, bool verbose); +bool is_good_name(const std::string &name, bool blankOK, bool verbose); void enter_player_name(newgame_def &ng); #endif |