diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-01-11 20:56:24 +0100 |
---|---|---|
committer | funjoker <funjoker109@gmail.com> | 2024-01-14 19:53:38 +0100 |
commit | ce5c1ad40973fe0730f3d82dd54ee3888afcadcf (patch) | |
tree | c7435b59c9abd2268ade6fd13d2ae89ddf2d4b1a /src/server/game/Phasing/PhaseShift.cpp | |
parent | c740c695378673036b2e925925029e797fee815a (diff) |
Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
(cherry picked from commit 0b5406dd882c6d96bc1be6fd0a78375c3b316415)
Diffstat (limited to 'src/server/game/Phasing/PhaseShift.cpp')
-rw-r--r-- | src/server/game/Phasing/PhaseShift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Phasing/PhaseShift.cpp b/src/server/game/Phasing/PhaseShift.cpp index 0c11581b545..4ba7715c9b1 100644 --- a/src/server/game/Phasing/PhaseShift.cpp +++ b/src/server/game/Phasing/PhaseShift.cpp @@ -25,7 +25,7 @@ PhaseShift& PhaseShift::operator=(PhaseShift const& right) = default; PhaseShift& PhaseShift::operator=(PhaseShift&& right) noexcept = default; PhaseShift::~PhaseShift() = default; -bool PhaseShift::AddPhase(uint32 phaseId, PhaseFlags flags, std::vector<Condition*> const* areaConditions, int32 references /*= 1*/) +bool PhaseShift::AddPhase(uint32 phaseId, PhaseFlags flags, std::vector<Condition> const* areaConditions, int32 references /*= 1*/) { auto insertResult = Phases.emplace(phaseId, flags, nullptr); ModifyPhasesReferences(insertResult.first, references); |