Running a static analysis on Simutrans-Extended has revealed an error which also appears to be in Simutrans-Standard.
Line 2938 of simcity.cc is:
if (h == NULL && sum_industrial > sum_residential && sum_industrial > sum_residential) {
This simply repeats sum_industrial > sum_residential. Presumably, this was not intended, but it is not clear what was intended here.
Looks like the second check should be
sum_industrial > sum_commercial
thanks for spotting
Splendid, thank you. Now incorporated in Extended.
in r8355