summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-09 19:01:57 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-09 19:01:57 +0000
commiteb456e33420acdd3c65b64dc0a9c9415d0709149 (patch)
tree147a31f770f47f62d4c5159b24f6dbcee8f53111
parent5d97d38779027456e136b561536bcf94fca95e2d (diff)
downloadcrawl-ref-eb456e33420acdd3c65b64dc0a9c9415d0709149.tar.gz
crawl-ref-eb456e33420acdd3c65b64dc0a9c9415d0709149.zip
Backported whereis time patch to 0.2.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.2@1276 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/hiscores.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 0ed1d06dc4..34e78b0f31 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -2082,6 +2082,7 @@ std::string xlog_status_line()
{
const scorefile_entry se(0, 0, KILL_MISC, NULL);
se.set_base_xlog_fields();
+ se.fields->add_field("time", "%s", make_date_string(time(NULL)).c_str());
return (se.fields->xlog_line());
}
#endif // DGL_WHEREIS