diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-01 19:18:06 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-01 19:18:06 +0000 |
commit | 313d4612b5af4371c00d24fa3559a7310c6f3849 (patch) | |
tree | aa465a848b4364d4940f1cdf42baf6e94ce89b20 /crawl-ref/source/tutorial.cc | |
parent | 1fcb6aa13880495afd0c26e28f9c62d8d99397e0 (diff) | |
download | crawl-ref-313d4612b5af4371c00d24fa3559a7310c6f3849.tar.gz crawl-ref-313d4612b5af4371c00d24fa3559a7310c6f3849.zip |
Fixed bad species name (eg: deep elves with the bows title) in dump because of reuse of static buffers (Iaido).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2288 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index efde782355..73ae84b49f 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -188,7 +188,8 @@ void print_tutorial_menu(unsigned int type) break; } - cprintf("%c - %s %s %s" EOL, letter, species_name(get_tutorial_species(type), 1), + cprintf("%c - %s %s %s" EOL, + letter, species_name(get_tutorial_species(type), 1).c_str(), get_class_name(get_tutorial_job(type)), desc); } |