aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Instances/InstanceScript.h
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2017-03-28 01:52:49 -0300
committerfunjoker <funjoker109@gmail.com>2020-04-24 17:18:51 +0200
commit3f79c9f69674618a7d7e2bf8484f9ec6ce15b2df (patch)
treee60a82d47f39fe491801dfb0ad1fb9560d11dd9d /src/server/game/Instances/InstanceScript.h
parent124b014f403bca147b8a7edaba6e90aee5c57e5f (diff)
Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI - Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same (cherry picked from commit 2f99fa09c9bacbad376d7a296c3311f94ec8a552)
Diffstat (limited to 'src/server/game/Instances/InstanceScript.h')
-rw-r--r--src/server/game/Instances/InstanceScript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h
index 0fc37d470ec..a87779f7f22 100644
--- a/src/server/game/Instances/InstanceScript.h
+++ b/src/server/game/Instances/InstanceScript.h
@@ -119,7 +119,7 @@ struct ObjectData
uint32 type;
};
-typedef std::set<AreaBoundary const*> CreatureBoundary;
+typedef std::vector<AreaBoundary const*> CreatureBoundary;
struct BossInfo
{