diff --git a/src/game/AI/BaseAI/UnitAI.h b/src/game/AI/BaseAI/UnitAI.h index 0778aad920..b66c702a39 100644 --- a/src/game/AI/BaseAI/UnitAI.h +++ b/src/game/AI/BaseAI/UnitAI.h @@ -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