diff options
| author | Spp- <u84280@epreinf21.(none)> | 2011-08-03 08:18:24 +0200 |
|---|---|---|
| committer | Spp- <u84280@epreinf21.(none)> | 2011-08-03 08:18:24 +0200 |
| commit | fcdd4d784fbeaf976d76b8c3e8739579c1dcc91e (patch) | |
| tree | 4974f15373e49f5122e5aff0a7a5ee0afc052d3c /src/server/game/AI/EventAI | |
| parent | 43720b1e3aa9909694c09d28d7cf9cd81ce5e2d8 (diff) | |
Core/Transport: Minor optimization in LoadTransports (And some cosmetic changes here and there in other files)
Diffstat (limited to 'src/server/game/AI/EventAI')
| -rwxr-xr-x | src/server/game/AI/EventAI/CreatureEventAIMgr.cpp | 2 | ||||
| -rwxr-xr-x | src/server/game/AI/EventAI/CreatureEventAIMgr.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp index 3f1b2d71da1..6c3765252f0 100755 --- a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp +++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp @@ -68,7 +68,7 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Texts() continue; } - // range negative (don't must be happen, loaded from same table) + // range negative (must not happen, loaded from same table) if (!sObjectMgr->GetTrinityStringLocale(i)) { sLog->outErrorDb("CreatureEventAI: Entry %i in table `creature_ai_texts` not found", i); diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.h b/src/server/game/AI/EventAI/CreatureEventAIMgr.h index 18cb1fb2f0d..50af460541f 100755 --- a/src/server/game/AI/EventAI/CreatureEventAIMgr.h +++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.h @@ -25,10 +25,12 @@ class CreatureEventAIMgr { friend class ACE_Singleton<CreatureEventAIMgr, ACE_Null_Mutex>; - CreatureEventAIMgr(){}; - public: + + private: + CreatureEventAIMgr(){}; ~CreatureEventAIMgr(){}; + public: void LoadCreatureEventAI_Texts(); void LoadCreatureEventAI_Summons(); void LoadCreatureEventAI_Scripts(); |
