diff --git a/src/goal_base.h b/src/goal_base.h --- a/src/goal_base.h +++ b/src/goal_base.h @@ -35,6 +35,8 @@ struct Goal : GoalPool::PoolItem<&_goal_ * (Empty) destructor has to be defined else operator delete might be called with nullptr parameter */ inline ~Goal() { } + + static bool IsValidGoalDestination(CompanyID company, GoalType type, GoalTypeID dest); }; #endif /* GOAL_BASE_H */