summaryrefslogtreecommitdiff
path: root/src/group.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-12 13:36:22 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-12 13:36:22 +0000
commitcbbc53e8f84067cae60c6f2e8e00682c968430a7 (patch)
treea405fcaad08342d18ba27a5d2377927423987178 /src/group.h
parented727f9a64965e41e9c04ef5ec10752400369f81 (diff)
downloadopenttd-cbbc53e8f84067cae60c6f2e8e00682c968430a7.tar.xz
(svn r11817) -Codechange: Base vehicle group validity on owner, not name.
Diffstat (limited to 'src/group.h')
-rw-r--r--src/group.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group.h b/src/group.h
index 297b02b4d..08b354b00 100644
--- a/src/group.h
+++ b/src/group.h
@@ -26,7 +26,7 @@ struct Group : PoolItem<Group, GroupID, &_Group_pool> {
bool replace_protection; ///< If set to true, the global autoreplace have no effect on the group
uint16 num_engines[TOTAL_NUM_ENGINES]; ///< Caches the number of engines of each type the player owns (no need to save this)
- Group(StringID str = STR_NULL);
+ Group(PlayerID owner = INVALID_PLAYER);
virtual ~Group();
bool IsValid() const;