diff options
| author | megamage <none@none> | 2009-04-27 18:43:39 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-27 18:43:39 -0500 |
| commit | 2b4e83d8fbd40f77033b9541fd3efc9979df1f44 (patch) | |
| tree | e0fc6a723d5ef8972e1755218a671cee437cedce /src/game/CreatureEventAIMgr.h | |
| parent | 09af28301e646bf75b63113129996724550d7dd6 (diff) | |
[7717] Use more safe code in EventAI. Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/CreatureEventAIMgr.h')
| -rw-r--r-- | src/game/CreatureEventAIMgr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/CreatureEventAIMgr.h b/src/game/CreatureEventAIMgr.h index ea5989a74ed..b4672460cc6 100644 --- a/src/game/CreatureEventAIMgr.h +++ b/src/game/CreatureEventAIMgr.h @@ -32,9 +32,9 @@ class CreatureEventAIMgr void LoadCreatureEventAI_Summons(); void LoadCreatureEventAI_Scripts(); - CreatureEventAI_Event_Map& GetCreatureEventAIMap() { return m_CreatureEventAI_Event_Map; } - CreatureEventAI_Summon_Map& GetCreatureEventAISummonMap() { return m_CreatureEventAI_Summon_Map; } - CreatureEventAI_TextMap& GetCreatureEventAITextMap() { return m_CreatureEventAI_TextMap; } + CreatureEventAI_Event_Map const& GetCreatureEventAIMap() const { return m_CreatureEventAI_Event_Map; } + CreatureEventAI_Summon_Map const& GetCreatureEventAISummonMap() const { return m_CreatureEventAI_Summon_Map; } + CreatureEventAI_TextMap const& GetCreatureEventAITextMap() const { return m_CreatureEventAI_TextMap; } private: CreatureEventAI_Event_Map m_CreatureEventAI_Event_Map; |
