diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2018-01-22 23:55:33 -0300 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-06-16 21:26:57 +0200 |
| commit | d0f4310c4417fb5dc8e89061adf4ce113caa4227 (patch) | |
| tree | 311575f8d3d004140628d0f47f06539538d51112 /src/server/game/Spells/SpellMgr.cpp | |
| parent | c77925da4a320df5be5eaeb1fc799df50e22c041 (diff) | |
Core/Entities: don't allow client control if player is still affected by any lose of control state
(cherry picked from commit e315e41d36061fc88dfa09bfa0da1fbc0c00826f)
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index be77f4af514..f3477dae2fd 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -1428,7 +1428,7 @@ void SpellMgr::LoadSpellGroupStackRules() if (!effectInfo->IsAura()) continue; - int32 auraName = static_cast<int32>(effectInfo->ApplyAuraName); + uint32 auraName = effectInfo->ApplyAuraName; for (std::vector<uint32> const& subGroup : SubGroups) { if (std::find(subGroup.begin(), subGroup.end(), auraName) != subGroup.end()) |
