summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_you.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-24 16:26:48 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-24 16:26:48 +0200
commit6bbd3e9e43fddca75b87d5bca1fc1a37faf87357 (patch)
treea07916f901ac860052e7562d2ec0f5efc51e40dc /crawl-ref/source/l_you.cc
parente4d195a439f1cbcd6a4302a3fd7d7454cfb04d42 (diff)
downloadcrawl-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/l_you.cc')
-rw-r--r--crawl-ref/source/l_you.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_you.cc b/crawl-ref/source/l_you.cc
index e21f9d641d..5893fe1dcd 100644
--- a/crawl-ref/source/l_you.cc
+++ b/crawl-ref/source/l_you.cc
@@ -50,7 +50,7 @@ static const char *transform_name()
}
LUARET1(you_turn_is_over, boolean, you.turn_is_over)
-LUARET1(you_name, string, you.your_name)
+LUARET1(you_name, string, you.your_name.c_str())
LUARET1(you_race, string,
species_name(you.species, you.experience_level).c_str())
LUARET1(you_class, string, get_class_name(you.char_class))