diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-03-12 13:20:39 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-03-14 11:46:11 +0100 |
commit | b8bbd9de2837c234eb04060d8a9959f3cefc5a42 (patch) | |
tree | d45d381efba37dd5e212b1cb5cd1eb43bdf76485 /crawl-ref/source/wiz-fsim.cc | |
parent | f7e1f1543326712ce469c401864959dc745e358f (diff) | |
download | crawl-ref-b8bbd9de2837c234eb04060d8a9959f3cefc5a42.tar.gz crawl-ref-b8bbd9de2837c234eb04060d8a9959f3cefc5a42.zip |
Simplify handling of version info.
They're static strings, there's no point in having functions just to malloc
and pass them around.
Diffstat (limited to 'crawl-ref/source/wiz-fsim.cc')
-rw-r--r-- | crawl-ref/source/wiz-fsim.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-fsim.cc b/crawl-ref/source/wiz-fsim.cc index dfe93220ef..b73c16dd75 100644 --- a/crawl-ref/source/wiz-fsim.cc +++ b/crawl-ref/source/wiz-fsim.cc @@ -117,7 +117,7 @@ static string _time_string() static void _write_version(FILE * o) { - fprintf(o, CRAWL " version %s\n", Version::Long().c_str()); + fprintf(o, CRAWL " version %s\n", Version::Long); } static void _write_matchup(FILE * o, monster &mon, bool defend, int iter_limit) |