Streetcar track removal fails when bank balance negative #8068
Comments
Can reproduce in 1.10.0 stable, tried removing tram track on both normal road and bridges. Only occurs if current bank balance (negative) plus removal cost (positive) < 0. |
Thank you @James103 for that final remark ("Only occurs if current bank balance (negative) plus removal cost (positive) < 0."). Took me a while to reproduce :D I was balancing in the in-between at first, not being able to reproduce :D Bug confirmed, fix incoming :) |
TrueBrain
added a commit
to TrueBrain/OpenTTD
that referenced
this issue
Jan 6, 2021
…s money Even if you are completely broke, generating money should always be allowed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
20200407-master-gd50e4641ae
Expected result
Removing streetcar track generates income, e.g. €156.
Actual result
Removing streetcar track issues error, e.g. "Not enough cash - requires -€156", when bank balance is negative, but generates income when bank balance is positive. Haven't checked bank balance equal to zero.
Steps to reproduce
Note: may be related to #7656, even though not a duplicate
The text was updated successfully, but these errors were encountered: