When multiple companies transfer the same cargo packets, each company should receive a part of the final payment. Currently, this is does not happen and the company that does the final delivery gets everything.
This is not part of the core IS, but it could be done in a separate patch. Patching against trunk or against IS will not matter that much in this respect (I hope) since the code of IS doesn't touch the areas related to cargo packets and payment.
#3 Updated by Hirundo over 9 years ago
- File payments.diff added
- Target version set to IS2.2
Attached is a patch that attempts to fix this issue.
I have tried to minimize memory usage increase of the cargopackets. Since there are many of these (up to a million) any gains are pretty significant.
The patch is against trunk, but applying it to IS should work relatively easily. Only conflicts should be in the saveload code.
I intend to include this in version 2.2 so it can receive some testing, before submitting it to FS. With NewGRF public airports coming up this problem may become serious enough to warrant some sort of fix even without considering IS (currently it's listed as 'Won't Fix')