From eb456e33420acdd3c65b64dc0a9c9415d0709149 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 9 Apr 2007 19:01:57 +0000 Subject: 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 --- crawl-ref/source/hiscores.cc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf