summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 137adff..32df1fd 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -1400,7 +1400,7 @@ void map_set_logfile(FString filename)
map_logfile_name = std::move(filename);
gettimeofday(&tv, NULL);
- map_start_logfile(tv.tv_sec);
+ map_start_logfile(tv.tv_sec >> LOGFILE_SECONDS_PER_CHUNK_SHIFT);
MAP_LOG("log-start v5");
}