mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[c12532] Use Filter log for grid unloading messages
(based on commit [12385] - e3136c2)
This commit is contained in:
parent
16ecfbcf4d
commit
fd6d107f7e
2 changed files with 3 additions and 3 deletions
|
|
@ -781,7 +781,7 @@ bool Map::UnloadGrid(const uint32& x, const uint32& y, bool pForce)
|
||||||
if (!pForce && ActiveObjectsNearGrid(x, y))
|
if (!pForce && ActiveObjectsNearGrid(x, y))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
DEBUG_LOG("Unloading grid[%u,%u] for map %u", x, y, i_id);
|
DEBUG_FILTER_LOG(LOG_FILTER_MAP_LOADING, "Unloading grid[%u,%u] for map %u", x, y, i_id);
|
||||||
ObjectGridUnloader unloader(*grid);
|
ObjectGridUnloader unloader(*grid);
|
||||||
|
|
||||||
// Finish remove and delete all creatures with delayed remove before moving to respawn grids
|
// Finish remove and delete all creatures with delayed remove before moving to respawn grids
|
||||||
|
|
@ -810,7 +810,7 @@ bool Map::UnloadGrid(const uint32& x, const uint32& y, bool pForce)
|
||||||
m_TerrainData->Unload(gx, gy);
|
m_TerrainData->Unload(gx, gy);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_LOG("Unloading grid[%u,%u] for map %u finished", x, y, i_id);
|
DEBUG_FILTER_LOG(LOG_FILTER_MAP_LOADING, "Unloading grid[%u,%u] for map %u finished", x, y, i_id);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12531"
|
#define REVISION_NR "12532"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue