Skip to content

Commit

Permalink
Compiler: Fix various warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa authored and killerwife committed May 5, 2024
1 parent f2717f3 commit eb8dc14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/AI/BaseAI/CreatureAI.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class CreatureAI : public UnitAI

void AddUnreachabilityCheck(); // use in constructor

CreatureSpellList const& GetSpellList() const;
CreatureSpellList const& GetSpellList() const override;

void TimedFleeingEnded() override;

Expand Down
2 changes: 1 addition & 1 deletion src/game/AI/BaseAI/UnitAI.h
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ struct CreatureAIFactory : public SelectableAI

UnitAI* Create(void*) const override;

int Permit(const Creature* c) const { return REAL_AI::Permissible(c); }
int Permit(const Creature* c) const override { return REAL_AI::Permissible(c); }
};

enum Permitions
Expand Down
1 change: 1 addition & 0 deletions src/game/Spells/Spell.h
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,7 @@ namespace MaNGOS
if (itr->getSource()->IsAOEImmune())
continue;
break;
default: break;
}

switch (i_TargetType)
Expand Down

0 comments on commit eb8dc14

Please sign in to comment.