mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-01-13 00:58:37 +00:00
4
.github/workflows/core-build.yml
vendored
4
.github/workflows/core-build.yml
vendored
@@ -8,8 +8,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
compiler: [clang6, clang9, clang10]
|
compiler: [clang]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
name: ${{ matrix.compiler }}
|
name: ${{ matrix.compiler }}
|
||||||
env:
|
env:
|
||||||
COMPILER: ${{ matrix.compiler }}
|
COMPILER: ${{ matrix.compiler }}
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ private:
|
|||||||
auto spellsForPlayersFamily = spellsMap.find(playerSpellFamily);
|
auto spellsForPlayersFamily = spellsMap.find(playerSpellFamily);
|
||||||
if (spellsForPlayersFamily != spellsMap.end())
|
if (spellsForPlayersFamily != spellsMap.end())
|
||||||
{
|
{
|
||||||
vector<AddSpell> additionalSpellsToTeach = spellsForPlayersFamily->second;
|
std::vector<AddSpell> additionalSpellsToTeach = spellsForPlayersFamily->second;
|
||||||
for (auto const& spell : additionalSpellsToTeach)
|
for (auto const& spell : additionalSpellsToTeach)
|
||||||
{
|
{
|
||||||
if (!(player->HasSpell(spell.spellId)) && (spell.faction == TeamId::TEAM_NEUTRAL || spell.faction == player->GetTeamId()))
|
if (!(player->HasSpell(spell.spellId)) && (spell.faction == TeamId::TEAM_NEUTRAL || spell.faction == player->GetTeamId()))
|
||||||
|
|||||||
Reference in New Issue
Block a user