summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-18 07:58:32 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-18 07:59:54 -0700
commit2f656a0430f31656ebf81b6ee0690bc6ad04268f (patch)
tree3559bd9779bbbdb9dad67d315e1ade4c5008e805 /crawl-ref/source/hiscores.cc
parent4a5e72289713324ce6ff6000276bd81681b18666 (diff)
downloadcrawl-ref-2f656a0430f31656ebf81b6ee0690bc6ad04268f.tar.gz
crawl-ref-2f656a0430f31656ebf81b6ee0690bc6ad04268f.zip
versioning: remove SVN-specific revision data, add Git versioning
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 5103d9a9e3..e7b62dcd8b 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -32,7 +32,6 @@
#endif
#include "AppHdr.h"
-REVISION("$Rev$");
#include "branch.h"
#include "files.h"
@@ -633,7 +632,7 @@ void scorefile_entry::set_base_xlog_fields() const
if (!fields.get())
fields.reset(new xlog_fields);
- fields->add_field("v", "%s", version.empty()? VER_NUM : version.c_str());
+ fields->add_field("v", "%s", Version::Short().c_str());
fields->add_field("lv", SCORE_VERSION);
fields->add_field("name", "%s", name.c_str());
fields->add_field("uid", "%d", uid);
@@ -940,7 +939,7 @@ void scorefile_entry::init()
// 4.1 - added real_time and num_turn fields
// 4.2 - stats and god info
- version = VER_NUM;
+ version = Version::Short();
name = you.your_name;
#ifdef MULTIUSER