mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Merge pull request #606 from bmwiedemann/mtime
Stop storing mtime in hog files
This commit is contained in:
commit
3a7c86a2d2
@ -36,7 +36,7 @@ HogFileEntry::HogFileEntry(const std::filesystem::path &input) {
|
||||
m_real_path = input;
|
||||
m_flags = 0;
|
||||
m_len = (uint32_t)file_size(input);
|
||||
m_timestamp = (uint32_t)to_time_t(last_write_time(input));
|
||||
m_timestamp = 0;
|
||||
auto name = input.filename().u8string();
|
||||
std::copy(name.begin(), name.end(), m_name.begin());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user