We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SmatZ opened the ticket and wrote:
r11015 If a company has too much money (over 1<<32 ?), it cannot give money to other companies. problem is likely there: main_gui.cpp : 93 Money money = min(p->player_money - p->current_loan, atoi(str) / _currency->rate); the first parameter is downgraded to int32 in the min() function (it is just my guess) I am sorry I am not attaching any patch, I don't know the most nice and general way to fix that. Attached savegame - start a server, join second client and try to give him money.
r11015
If a company has too much money (over 1<<32 ?), it cannot give money to other companies.
problem is likely there: main_gui.cpp : 93 Money money = min(p->player_money - p->current_loan, atoi(str) / _currency->rate);
the first parameter is downgraded to int32 in the min() function (it is just my guess)
I am sorry I am not attaching any patch, I don't know the most nice and general way to fix that.
Attached savegame - start a server, join second client and try to give him money.
Attachments
Reported version: trunk Operating system: All
The text was updated successfully, but these errors were encountered:
Rubidium closed the ticket.
Reason for closing: Fixed
In r11020.
Sorry, something went wrong.
No branches or pull requests
SmatZ opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/1174
The text was updated successfully, but these errors were encountered: