diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-24 16:26:48 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-24 16:26:48 +0200 |
commit | 6bbd3e9e43fddca75b87d5bca1fc1a37faf87357 (patch) | |
tree | a07916f901ac860052e7562d2ec0f5efc51e40dc /crawl-ref/source/player.cc | |
parent | e4d195a439f1cbcd6a4302a3fd7d7454cfb04d42 (diff) | |
download | crawl-ref-6bbd3e9e43fddca75b87d5bca1fc1a37faf87357.tar.gz crawl-ref-6bbd3e9e43fddca75b87d5bca1fc1a37faf87357.zip |
Convert player::your_name to std::string.
Doesn't seem to break anything...
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |