diff options
author | rubidium <rubidium@openttd.org> | 2011-05-02 20:59:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-02 20:59:54 +0000 |
commit | ff143c67085ad22abb5f6920873fd0ff9eddf603 (patch) | |
tree | f4f5fe046bd9b07d8a9c20130d7e115eb80f45ba /src/economy.cpp | |
parent | cf30941fab66fe6232e5b15b59ebedc4ea430e1e (diff) | |
download | openttd-ff143c67085ad22abb5f6920873fd0ff9eddf603.tar.xz |
(svn r22413) -Document: even more stuff
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 584eea7c7..6f2604c27 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -281,7 +281,11 @@ int UpdateCompanyRatingAndValue(Company *c, bool update) return score; } -/* use INVALID_OWNER as new_owner to delete the company. */ +/** + * Change the ownership of all the items of a company. + * @param old_owner The company that gets removed. + * @param new_owner The company to merge to, or INVALID_OWNER to remove the company. + */ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner) { /* We need to set _current_company to old_owner before we try to move |