FS#1455 - Impossible to build a new bank

Attached to Project: OpenTTD
Opened by woof (woof) - Monday, 19 November 2007, 22:42 GMT
Type Bug
Category Interface
Status Closed
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version 0.5.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


seems to be an error in industrie_cmd.cpp (line # 01260 in r11477):

static bool CheckIfIndustryIsAllowed(..
if ((GetIndustrySpec(type)->behaviour & INDUSTRYBEH_TOWN1200_MORE) && t->population < 1200)

(t->population < 1200) brakets missing...?

I could not build right now..
This task depends upon

Closed by  Loïc GUILLOUX (glx)
Tuesday, 20 November 2007, 01:02 GMT
Reason for closing:  Not a bug
Comment by Loïc GUILLOUX (glx) - Monday, 19 November 2007, 22:44 GMT
No, it's ok. You have to click on a house.
Comment by woof (woof) - Monday, 19 November 2007, 22:46 GMT
industry_cmd.cpp of course
Comment by woof (woof) - Monday, 19 November 2007, 22:48 GMT
oh - thanx - in a big city it's not easy to hit the right one...