You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The situation is about the setup of an conditional order. If I enter some value for Maximum speed, certain values come out wrong. For example:
Enter 2, click ok, Conditional Order gets updated to 3. Because of that, it is not possible to set the value of the conditional order to 2.
Further examples:
Enter 5 -> 6
Enter 7 -> 8
Enter 10 -> 11
Enter 13 -> 14
Enter 200 -> 201
These shifts are the same in each new game I started and also across versions(checked in 1.4.4, r27134 and 1.3.3). Other Values don't shift at all.
It sounds like rounding errors to me, speeds are not exact numbers. Depending on your displayed unit, values slightly change. Can't you just pick a slight smaller value?
You are certainly right. I just came across this issue when I was checking out some cases for the first patch I wrote (https://bugs.openttd.org/task/6078).
I also agree, that this is a case which is not very important. I haven't used the Maximum Speed condition yet since I don't know what for.
However, it is confusing if the game does something else than you expect without comment. (You want to compare to a Speed of 200km/h? I only let you compare against 201 km/h!)
The rounding errors explain the issue. I wasn't aware that the speed units even could be changed. The value is a 11-Bit integer, so the range is between 0 and 2047. The same range of possible values is there in the mph unit, so the speed is only exact for this case.
jogi opened the ticket and wrote:
Reported version: trunk
Operating system: Linux
This issue was imported from FlySpray: https://bugs.openttd.org/task/6225
The text was updated successfully, but these errors were encountered: