1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Time: Change old u32 timestamps to 64-bit (#5818)

MacOSX build fix + cleanups
This commit is contained in:
SmallJoker 2017-05-26 14:03:36 +02:00 committed by GitHub
parent 4d5ce8478c
commit d99b6fed55
18 changed files with 75 additions and 96 deletions

View file

@ -981,7 +981,7 @@ void Map::transformLiquids(std::map<v3s16, MapBlock*> &modified_blocks,
time_until_purge *= 1000; // seconds -> milliseconds
u32 curr_time = porting::getTime(PRECISION_MILLI);
u64 curr_time = porting::getTimeMs();
u32 prev_unprocessed = m_unprocessed_count;
m_unprocessed_count = m_transforming_liquid.size();