aboutsummaryrefslogtreecommitdiff
path: root/src/game/Map.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-19 17:42:56 -0500
committermegamage <none@none>2009-08-19 17:42:56 -0500
commitbd0dbcc9ad239e608ebc881558f64877b60d14d8 (patch)
treea6924b6e1a985c23a6b3fa20e85c08a9c6523a94 /src/game/Map.h
parent44830d9d9941c47863c623edbfe39a01056abb87 (diff)
*Add script lock for ScriptsProcess() because some bad scripts may cause dead loop.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Map.h')
-rw-r--r--src/game/Map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Map.h b/src/game/Map.h
index eb2b1cbe553..631e5264a2f 100644
--- a/src/game/Map.h
+++ b/src/game/Map.h
@@ -519,7 +519,7 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>, public MaNGOS::Obj
time_t i_gridExpiry;
IntervalTimer m_notifyTimer;
- bool i_lock;
+ bool i_notifyLock, i_scriptLock;
std::vector<Unit*> i_unitsToNotifyBacklog;
std::vector<Unit*> i_unitsToNotify;
std::set<WorldObject *> i_objectsToRemove;