fix(CI): revert sleep + fix shadowing variable issue (#9106)
This commit is contained in:
@@ -6,10 +6,6 @@ jobs:
|
|||||||
triage:
|
triage:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
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
|
- uses: actions/labeler@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.AC_GITHUB_TOKEN }}
|
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)
|
for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end(); ++itr)
|
||||||
{
|
{
|
||||||
if (Unit* unitTarget = (*itr)->ToUnit())
|
if (Unit* unit = (*itr)->ToUnit())
|
||||||
AddUnitTarget(unitTarget, effMask, false);
|
{
|
||||||
|
AddUnitTarget(unit, effMask, false);
|
||||||
|
}
|
||||||
else if (GameObject* gObjTarget = (*itr)->ToGameObject())
|
else if (GameObject* gObjTarget = (*itr)->ToGameObject())
|
||||||
|
{
|
||||||
AddGOTarget(gObjTarget, effMask);
|
AddGOTarget(gObjTarget, effMask);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user