mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Define and use limit constants for Irrlicht fixed-width types
This commit is contained in:
parent
b12bdcce34
commit
f0cd5da687
11 changed files with 31 additions and 16 deletions
|
@ -1434,7 +1434,7 @@ void Map::timerUpdate(float dtime, float unload_timeout, u32 max_loaded_blocks,
|
|||
beginSave();
|
||||
|
||||
// If there is no practical limit, we spare creation of mapblock_queue
|
||||
if (max_loaded_blocks == (u32)-1) {
|
||||
if (max_loaded_blocks == U32_MAX) {
|
||||
for (std::map<v2s16, MapSector*>::iterator si = m_sectors.begin();
|
||||
si != m_sectors.end(); ++si) {
|
||||
MapSector *sector = si->second;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue