diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-30 12:40:26 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-30 12:40:26 +0000 |
commit | 4186783e74fcd5dd7712f896ea69e0879afc3f84 (patch) | |
tree | 85c19b096897bec28b1be4413a8e2826505f1dc7 /crawl-ref/source/debug.cc | |
parent | 5a57ec42266234f2692d18b13a7b237bb2843645 (diff) | |
download | crawl-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/debug.cc')
-rw-r--r-- | crawl-ref/source/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc index c30b52f419..c3ff393224 100644 --- a/crawl-ref/source/debug.cc +++ b/crawl-ref/source/debug.cc @@ -3134,7 +3134,7 @@ static std::string _fsim_weapon(int missile_slot) static std::string _fsim_time_string() { time_t curr_time = time(NULL); - struct tm *ltime = localtime(&curr_time); + struct tm *ltime = TIME_FN(&curr_time); if (ltime) { char buf[100]; |