summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index d5cb61f633..3da0bd96f6 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -2268,6 +2268,11 @@ static void enter_player_name(bool blankOK)
if (!read_player_name(name, kNameLen, existing_chars, char_menu))
end(0);
+#ifdef USE_TILE
+ clrscr();
+ gotoxy(1, 1);
+#endif
+
// Laboriously trim the damn thing.
std::string read_name = name;
trim_string(read_name);
@@ -2280,7 +2285,7 @@ static void enter_player_name(bool blankOK)
static bool validate_player_name(bool verbose)
{
-#if defined(DOS) || defined(WIN32CONSOLE)
+#if defined(DOS) || defined(WIN32CONSOLE) || defined(WIN32TILES)
// quick check for CON -- blows up real good under DOS/Windows
if (stricmp(you.your_name, "con") == 0
|| stricmp(you.your_name, "nul") == 0