OpenTTD

Tasklist

FS#1524 - Cannot build water tower

Attached to Project: OpenTTD
Opened by Moriarty (Moriarty) - Sunday, 09 December 2007, 14:33 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

r11588

Scenario editor - see attached scenario. I can't build a water tower in that town because "town population must be at least 1200", yet the population is over 2000!
This task depends upon

Closed by  Remko Bijker (Rubidium)
Sunday, 09 December 2007, 18:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r11609.
Comment by pheeror (pheeror) - Sunday, 09 December 2007, 16:27 GMT
Thanks for report. It was only bad error message. Patch attached.

The patch removes INDUSTRYBEH_TOWN1200_MORE from if-clause, beacues it will be still checked by funcion CheckIfIndustryIsAllowed and changes STR_029D_CAN_ONLY_BE_BUILT_IN_TOWNS to STR_030D_CAN_ONLY_BE_BUILT_IN_TOWNS

apply:
cd ottd_root/src
patch < build_only_in_city_bad_message.patch
Comment by Moriarty (Moriarty) - Sunday, 09 December 2007, 17:20 GMT
Figured it probably was. :-)

Sometimes when I try to build a water tower in the town (I'm actually clicking on buildings) it does say "must build in town". The buildings are on an "arm" from the town rather than in the town-centre itself. Banks do the same.
Comment by Remko Bijker (Rubidium) - Sunday, 09 December 2007, 17:44 GMT
With that patch applied I still get a "can only be built in towns" when I place the water tower on the big blue building at the edge of Bacau (coordinate 75,68).

Loading...