summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-input.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-12-01 15:43:57 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-12-01 17:19:25 +0100
commite10a8ac6472a9c8421217fac3ad1722358d22899 (patch)
tree715266c92d7651f981a8ddef12f52729257037bb /crawl-ref/source/ng-input.cc
parent40f395547b6cb86df23823fce3089a20743b9fa8 (diff)
downloadcrawl-ref-e10a8ac6472a9c8421217fac3ad1722358d22899.tar.gz
crawl-ref-e10a8ac6472a9c8421217fac3ad1722358d22899.zip
Remove an outdated check -- we can allow a player "bones" safely now.
Diffstat (limited to 'crawl-ref/source/ng-input.cc')
-rw-r--r--crawl-ref/source/ng-input.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/crawl-ref/source/ng-input.cc b/crawl-ref/source/ng-input.cc
index 035eece641..86667aa093 100644
--- a/crawl-ref/source/ng-input.cc
+++ b/crawl-ref/source/ng-input.cc
@@ -74,21 +74,6 @@ bool is_good_name(const std::string& name, bool blankOK, bool verbose)
return (false);
}
- // If MULTIUSER is defined, userid will be tacked onto the end
- // of each character's files, making bones a valid player name.
-#ifndef MULTIUSER
- // This would cause big probs with ghosts.
- // What would? {dlb}
- // ... having the name "bones" of course! The problem comes from
- // the fact that bones files would have the exact same filename
- // as level files for a character named "bones". -- bwr
- if (stricmp(name.c_str(), "bones") == 0)
- {
- if (verbose)
- cprintf("\nThat's a silly name!\n");
- return (false);
- }
-#endif
return (validate_player_name(name, verbose));
}