diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-12 13:36:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-12 13:36:22 +0000 |
commit | 63cc41cd1c90dce2e1f3d90ce57b27c65f5197bb (patch) | |
tree | a405fcaad08342d18ba27a5d2377927423987178 /src/group.h | |
parent | 07e0e0a1ff0858270e3f72422cb0a25b39077169 (diff) | |
download | openttd-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.h | 2 |
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; |