OpenTTD

Tasklist

FS#6362 - Bulding house at the end of a road does not reset town growth counter

Attached to Project: OpenTTD
Opened by dP (_dp_) - Wednesday, 12 August 2015, 22:22 GMT
Last edited by frosch (frosch) - Friday, 30 October 2015, 16:25 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity High
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Just found another bug introduced by my patch for  FS#6245  :[ In GrowTownAtRoad when town has no road to follow it returns false even though _grow_town_result may actually be GROWTH_SUCCEED meaning house was built. Which in turn leads to growth_counter not being reset resulting in "free" house.

You can see this bug in action here: http://www.twitch.tv/gelidid/v/10532858?t=21m45
Counter was not reset after 99th house (still says next: 1) so 100th was build immediately after
This task depends upon

Closed by  frosch (frosch)
Friday, 30 October 2015, 16:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r27420. Thanks for the patch!

Loading...