diff options
Diffstat (limited to 'src/goal_cmd.h')
-rw-r--r-- | src/goal_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/goal_cmd.h b/src/goal_cmd.h index 5c3e4954f..5be2044e2 100644 --- a/src/goal_cmd.h +++ b/src/goal_cmd.h @@ -14,7 +14,7 @@ #include "command_type.h" #include "goal_type.h" -CommandCost CmdCreateGoal(DoCommandFlag flags, CompanyID company, GoalType type, GoalTypeID dest, const std::string &text); +std::tuple<CommandCost, GoalID> CmdCreateGoal(DoCommandFlag flags, CompanyID company, GoalType type, GoalTypeID dest, const std::string &text); CommandCost CmdRemoveGoal(DoCommandFlag flags, GoalID goal); CommandCost CmdSetGoalText(DoCommandFlag flags, GoalID goal, const std::string &text); CommandCost CmdSetGoalProgress(DoCommandFlag flags, GoalID goal, const std::string &text); |