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 65107d6 commit f928d60
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit f928d60

Please sign in to comment.