fix: build and ci

This commit is contained in:
Helias
2021-05-31 19:29:28 +02:00
parent d22d50eb58
commit 24d71d11a9
2 changed files with 3 additions and 3 deletions

View File

@@ -271,7 +271,7 @@ private:
auto spellsForPlayersFamily = spellsMap.find(playerSpellFamily);
if (spellsForPlayersFamily != spellsMap.end())
{
vector<AddSpell> additionalSpellsToTeach = spellsForPlayersFamily->second;
std::vector<AddSpell> additionalSpellsToTeach = spellsForPlayersFamily->second;
for (auto const& spell : additionalSpellsToTeach)
{
if (!(player->HasSpell(spell.spellId)) && (spell.faction == TeamId::TEAM_NEUTRAL || spell.faction == player->GetTeamId()))