mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Clean up getTime helpers
This increases size of the getTime return values to 64 bits. It also removes the TimeGetter classes since the getTime functions are now very precise.
This commit is contained in:
@@ -981,7 +981,7 @@ void Map::transformLiquids(std::map<v3s16, MapBlock*> &modified_blocks,
|
||||
|
||||
time_until_purge *= 1000; // seconds -> milliseconds
|
||||
|
||||
u32 curr_time = getTime(PRECISION_MILLI);
|
||||
u32 curr_time = porting::getTime(PRECISION_MILLI);
|
||||
u32 prev_unprocessed = m_unprocessed_count;
|
||||
m_unprocessed_count = m_transforming_liquid.size();
|
||||
|
||||
|
Reference in New Issue
Block a user