diff options
author | Darshan Shaligram <scintilla@gmail.com> | 2014-05-07 14:10:20 -0400 |
---|---|---|
committer | Darshan Shaligram <scintilla@gmail.com> | 2014-05-07 14:17:21 -0400 |
commit | 3be555590b9a9e280491bd92a428ffefed8534a4 (patch) | |
tree | 0d35662fcc3042545f101af27f37132d2e90a37f /crawl-ref/source/hiscores.cc | |
parent | f9dfbfbb52568ade24638eff1d8e6db817ca550a (diff) | |
download | crawl-ref-3be555590b9a9e280491bd92a428ffefed8534a4.tar.gz crawl-ref-3be555590b9a9e280491bd92a428ffefed8534a4.zip |
Log CRAWL_VERSION_LONG as vlong.
Log the long version (including git revision) in logfiles and milestones for
Sequell.
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r-- | crawl-ref/source/hiscores.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc index 9422041ed2..81bc378b56 100644 --- a/crawl-ref/source/hiscores.cc +++ b/crawl-ref/source/hiscores.cc @@ -977,6 +977,7 @@ void scorefile_entry::set_base_xlog_fields() const else if (crawl_state.game_is_zotdef()) score_version += "-zotdef.1"; fields->add_field("v", "%s", Version::Short); + fields->add_field("vlong", "%s", Version::Long); fields->add_field("lv", "%s", score_version.c_str()); #ifdef EXPERIMENTAL_BRANCH fields->add_field("explbr", EXPERIMENTAL_BRANCH); |