OpenTTD

Tasklist

FS#187 - Inconsistency between patch setting and console output

Attached to Project: OpenTTD
Opened by Celestar (Celestar) - Wednesday, 24 May 2006, 21:12 GMT
Last edited by Celestar (Celestar) - Wednesday, 24 May 2006, 21:44 GMT
Type Bug
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version 0.5.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Command:
patch realistic_acceleration on
Response:
'realistic_acceleration' changed to: off
Result:
realistic acceleration was switched on ..

Happens on Dedicated Server
This task depends upon

Closed by  Darkvater (Darkvater)
Monday, 07 August 2006, 09:23 GMT
Reason for closing:  Fixed
Comment by Darkvater (Darkvater) - Wednesday, 24 May 2006, 22:24 GMT
Ok, not entirely happy with it, but this does work in all cases.
I can either do this, or just blindly 1. show the requested value that has been changed to 2. just say value changed and not to what (because we already know)
Comment by Celestar (Celestar) - Thursday, 25 May 2006, 06:26 GMT
New diff, improved.
1) Accepts "yes"/"no", "on"/"off", "true/false" for boolean settings
2) Will not do anything if the new value cannot be parsed

Loading...