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
commit63cc41cd1c90dce2e1f3d90ce57b27c65f5197bb (patch)
treea405fcaad08342d18ba27a5d2377927423987178 /src/group.h
parent07e0e0a1ff0858270e3f72422cb0a25b39077169 (diff)
downloadopenttd-63cc41cd1c90dce2e1f3d90ce57b27c65f5197bb.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;