From 8ce76f29ab6bc6ea0809c085b4f395373b3cb8d7 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 9 Apr 2013 17:59:01 -0700 Subject: Also implement x32 support --- src/map/atcommand.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/atcommand.cpp') diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp index 116139d..ea13a04 100644 --- a/src/map/atcommand.cpp +++ b/src/map/atcommand.cpp @@ -386,8 +386,7 @@ FILE *get_gm_log() if (!gm_logfile_name) return NULL; - time_t ts = time(NULL); - struct tm ctime = *gmtime(&ts); + struct tm ctime = TimeT::now(); int year = ctime.tm_year + 1900; int month = ctime.tm_mon + 1; -- cgit v1.2.3-70-g09d2