Feature: [GS] Goal destination can be updated (#10817)

(cherry picked from commit 35ef6c1723)
This commit is contained in:
mrmbernardi
2023-06-08 19:00:31 +02:00
committed by Jonathan G Rennison
parent 6550f3a049
commit 74c0678015
7 changed files with 122 additions and 45 deletions

View File

@@ -35,6 +35,8 @@ struct Goal : GoalPool::PoolItem<&_goal_pool> {
* (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 */