From 6bbd3e9e43fddca75b87d5bca1fc1a37faf87357 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 24 Oct 2009 16:26:48 +0200 Subject: Convert player::your_name to std::string. Doesn't seem to break anything... --- crawl-ref/source/player.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 1e59167c7e..00bce8440b 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -161,7 +161,7 @@ bool move_player_to_grid( const coord_def& p, bool stepped, bool allow_shift, mprf(MSGCH_WARN, "Wait a moment, %s! Do you really want to step there?", - you.your_name); + you.your_name.c_str()); if (!you.running.is_any_travel()) more(); @@ -5852,7 +5852,7 @@ void player::init() wizard = false; #endif - your_name[0] = 0; + your_name = ""; banished = false; banished_by.clear(); -- cgit v1.2.3-54-g00ecf