mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(CI): revert sleep + fix shadowing variable issue (#9106)
This commit is contained in:
4
.github/workflows/pr_labeler.yml
vendored
4
.github/workflows/pr_labeler.yml
vendored
@@ -6,10 +6,6 @@ jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
# This delay is necessary to correctly trigger builds on label application
|
||||
- name: Sleep for 30 seconds
|
||||
run: sleep 30s
|
||||
shell: bash
|
||||
- uses: actions/labeler@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.AC_GITHUB_TOKEN }}
|
||||
|
||||
@@ -1246,10 +1246,14 @@ void Spell::SelectImplicitConeTargets(SpellEffIndex effIndex, SpellImplicitTarge
|
||||
|
||||
for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end(); ++itr)
|
||||
{
|
||||
if (Unit* unitTarget = (*itr)->ToUnit())
|
||||
AddUnitTarget(unitTarget, effMask, false);
|
||||
if (Unit* unit = (*itr)->ToUnit())
|
||||
{
|
||||
AddUnitTarget(unit, effMask, false);
|
||||
}
|
||||
else if (GameObject* gObjTarget = (*itr)->ToGameObject())
|
||||
{
|
||||
AddGOTarget(gObjTarget, effMask);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user