McZapkie wrote:
I would expect neither to give correct results except in rare edge cases. A bitmask is used like
Code: Select all
bitmask(CC_EXPRESS, CC_REFRIGERATED)
with comma between entries in the bitmask.
Ok, seems that there is bug in Opengfx+ Industries, ticket opened.
BTW, industries open/close bugs are solved and can be closed (I corrected code but can't close issue by myself).
Aye, thanks a lot, I fixed the cargo class bug. And I gave you developer rights on the OpenGFX+Industries project as well so you can edit issues now, too. As I'm a bit unsure which you fixed #7480? #7454? #7424? (and I can't test now properly as I'm travelling), can you please close as appropriate?
For your future convenience: Bugs are automatically closed when you craft the commit message appropriately and reference the bug# explicitly.
where XXXX is the issue number related to the bug. For instance there are two bugs related to oil industries and your commit message does not make clear which it relates to.
Two remarks to that commit of yours:
* Referencing the bugs in the commit message as stated above allows semi-automatic generation of changelogs for releases.
* Please indent using tabs in this project. Mixing style leads to bad code readability
I pushed a fix related to that.