summaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Scripting/ScriptSystem.h')
-rw-r--r--src/server/game/Scripting/ScriptSystem.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/server/game/Scripting/ScriptSystem.h b/src/server/game/Scripting/ScriptSystem.h
index fafc6066dc..ed4b9f3273 100644
--- a/src/server/game/Scripting/ScriptSystem.h
+++ b/src/server/game/Scripting/ScriptSystem.h
@@ -48,32 +48,32 @@ typedef std::vector<ScriptPointMove> ScriptPointVector;
class SystemMgr
{
- SystemMgr() {}
- ~SystemMgr() {}
+ SystemMgr() {}
+ ~SystemMgr() {}
- public:
- static SystemMgr* instance();
+public:
+ static SystemMgr* instance();
- typedef std::unordered_map<uint32, ScriptPointVector> PointMoveMap;
+ typedef std::unordered_map<uint32, ScriptPointVector> PointMoveMap;
- //Database
- void LoadScriptWaypoints();
+ //Database
+ void LoadScriptWaypoints();
- ScriptPointVector const& GetPointMoveList(uint32 creatureEntry) const
- {
- PointMoveMap::const_iterator itr = m_mPointMoveMap.find(creatureEntry);
+ ScriptPointVector const& GetPointMoveList(uint32 creatureEntry) const
+ {
+ PointMoveMap::const_iterator itr = m_mPointMoveMap.find(creatureEntry);
- if (itr == m_mPointMoveMap.end())
- return _empty;
+ if (itr == m_mPointMoveMap.end())
+ return _empty;
- return itr->second;
- }
+ return itr->second;
+ }
- protected:
- PointMoveMap m_mPointMoveMap; //coordinates for waypoints
+protected:
+ PointMoveMap m_mPointMoveMap; //coordinates for waypoints
- private:
- static ScriptPointVector const _empty;
+private:
+ static ScriptPointVector const _empty;
};
#define sScriptSystemMgr SystemMgr::instance()