summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc2
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];