From fd6d107f7eb27c1a0b5bbf6f2ef6eae8b555eac2 Mon Sep 17 00:00:00 2001 From: Schmoozerd Date: Sun, 3 Mar 2013 17:35:12 +0200 Subject: [PATCH] [c12532] Use Filter log for grid unloading messages (based on commit [12385] - e3136c2) --- src/game/Map.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Map.cpp b/src/game/Map.cpp index ae03a479a..738a060d9 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -781,7 +781,7 @@ bool Map::UnloadGrid(const uint32& x, const uint32& y, bool pForce) if (!pForce && ActiveObjectsNearGrid(x, y)) 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); // 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); } - 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; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cb55f839a..75aae4443 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "12531" + #define REVISION_NR "12532" #endif // __REVISION_NR_H__