diff options
| author | Shauren <shauren.trinity@gmail.com> | 2011-03-08 17:17:41 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2011-03-08 17:17:41 +0100 |
| commit | e25a5ca4f8728fa51fa06bba15c7ee9cfe4d34b5 (patch) | |
| tree | 291984803bd16b94360f48646026760550f6349f /src/server/game | |
| parent | e5347a3bdadc5468916a11f9da5c9561f955f79a (diff) | |
Core/Scripts: Changed SummonList::DoAction to take signed int as action identifier to be consistent with AI()->DoAction parameter type
Diffstat (limited to 'src/server/game')
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedCreature.cpp | 2 | ||||
| -rw-r--r-- | src/server/game/AI/ScriptedAI/ScriptedCreature.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp index 6eec549d37a..e1ba1342404 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp +++ b/src/server/game/AI/ScriptedAI/ScriptedCreature.cpp @@ -30,7 +30,7 @@ void SummonList::DoZoneInCombat(uint32 entry) } } -void SummonList::DoAction(uint32 entry, uint32 info) +void SummonList::DoAction(uint32 entry, int32 info) { for (iterator i = begin(); i != end();) { diff --git a/src/server/game/AI/ScriptedAI/ScriptedCreature.h b/src/server/game/AI/ScriptedAI/ScriptedCreature.h index f7a28a71e33..1ac57891734 100644 --- a/src/server/game/AI/ScriptedAI/ScriptedCreature.h +++ b/src/server/game/AI/ScriptedAI/ScriptedCreature.h @@ -34,7 +34,7 @@ class SummonList : public std::list<uint64> void Despawn(Creature *summon) { remove(summon->GetGUID()); } void DespawnEntry(uint32 entry); void DespawnAll(); - void DoAction(uint32 entry, uint32 info); + void DoAction(uint32 entry, int32 info); void DoZoneInCombat(uint32 entry = 0); void RemoveNotExisting(); bool HasEntry(uint32 entry); |
