aboutsummaryrefslogtreecommitdiff
path: root/src/shared/vmap/VMapFactory.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-08 16:34:03 -0600
committermegamage <none@none>2008-12-08 16:34:03 -0600
commitce643187f06cd0b3829ab90deff335f5c9ec5a84 (patch)
treedc09eece1fc5dce2a942bdc27a4a045518ef9daa /src/shared/vmap/VMapFactory.cpp
parent5321be4c0aa48daaf84ffd602d47e650e53403ef (diff)
*Update to Mangos 6888. Source: Mangos.
*Major change: Make corpse erase async, Avoid DB access on deleting guild member. *Skip 6885 because of performance concern. --HG-- branch : trunk
Diffstat (limited to 'src/shared/vmap/VMapFactory.cpp')
-rw-r--r--src/shared/vmap/VMapFactory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/vmap/VMapFactory.cpp b/src/shared/vmap/VMapFactory.cpp
index b0271a80e2b..a12c9e3e3a9 100644
--- a/src/shared/vmap/VMapFactory.cpp
+++ b/src/shared/vmap/VMapFactory.cpp
@@ -99,8 +99,14 @@ namespace VMAP
void VMapFactory::clear()
{
if(iIgnoreSpellIds)
+ {
delete iIgnoreSpellIds;
+ iIgnoreSpellIds = NULL;
+ }
if(gVMapManager)
+ {
delete gVMapManager;
+ gVMapManager = NULL;
+ }
}
}