summaryrefslogtreecommitdiff
path: root/src/goal_base.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-22 09:10:04 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit5b34c8019f135afd9f20d043a489ab96f286038a (patch)
tree84b38701d78f2348ad1e54c5cb379fc15bdcfe67 /src/goal_base.h
parentfcf06ba4c43bb9b7ac0b8541377a5240b3e01126 (diff)
downloadopenttd-5b34c8019f135afd9f20d043a489ab96f286038a.tar.xz
Codechange: Remove Company/OwnerByte types
Diffstat (limited to 'src/goal_base.h')
-rw-r--r--src/goal_base.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/goal_base.h b/src/goal_base.h
index f82afa5be..532c47ea3 100644
--- a/src/goal_base.h
+++ b/src/goal_base.h
@@ -21,12 +21,12 @@ extern GoalPool _goal_pool;
/** Struct about goals, current and completed */
struct Goal : GoalPool::PoolItem<&_goal_pool> {
- CompanyByte company; ///< Goal is for a specific company; INVALID_COMPANY if it is global
- GoalTypeByte type; ///< Type of the goal
- GoalTypeID dst; ///< Index of type
- char *text; ///< Text of the goal.
- char *progress; ///< Progress text of the goal.
- bool completed; ///< Is the goal completed or not?
+ CompanyID company; ///< Goal is for a specific company; INVALID_COMPANY if it is global
+ GoalTypeByte type; ///< Type of the goal
+ GoalTypeID dst; ///< Index of type
+ char *text; ///< Text of the goal.
+ char *progress; ///< Progress text of the goal.
+ bool completed; ///< Is the goal completed or not?
/**
* We need an (empty) constructor so struct isn't zeroed (as C++ standard states)