summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-30 12:40:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-30 12:40:26 +0000
commit4186783e74fcd5dd7712f896ea69e0879afc3f84 (patch)
tree85c19b096897bec28b1be4413a8e2826505f1dc7 /crawl-ref/source/ouch.cc
parent5a57ec42266234f2692d18b13a7b237bb2843645 (diff)
downloadcrawl-ref-4186783e74fcd5dd7712f896ea69e0879afc3f84.tar.gz
crawl-ref-4186783e74fcd5dd7712f896ea69e0879afc3f84.zip
When DGAMELAUNCH is defined, use gmtime() instead of localtime() so it's easier to keep multiple dgl servers in sync.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6733 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index b9e509eead..2b9c8a38dd 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -955,7 +955,7 @@ static std::string morgue_name(time_t when_crawl_got_even)
#else // !SHORT_FILE_NAMES
std::string name = "morgue-" + std::string(you.your_name);
- if (tm *loc = localtime(&when_crawl_got_even))
+ if (tm *loc = TIME_FN(&when_crawl_got_even))
{
char buf[25];
snprintf(buf, sizeof buf, "-%04d%02d%02d-%02d%02d%02d",