(svn r27351) [1.5] -Backport from trunk:
- Fix: Do not rerandomise the town name when only cost-estimating the founding [FS#6332] (r27341) - Fix: Make variety distribution not assume that sea level is at height 0.2 / 3 * TGPGetMaxHeight() [FS#6335] (r27331, r27330, r27329, r27328) - Fix: Remove corner-case optimisation for line drawing, which failed for dashed lines (r27324) - Fix: Clipping of inclined lines did not account for the 'horizontal width' being bigger than the 'real width' (r27323, r27322)
This commit is contained in:
@@ -1124,7 +1124,8 @@ public:
|
||||
bool success = DoCommandP(tile, this->town_size | this->city << 2 | this->town_layout << 3 | random << 6,
|
||||
townnameparts, CMD_FOUND_TOWN | CMD_MSG(errstr), cc, name);
|
||||
|
||||
if (success) this->RandomTownName();
|
||||
/* Rerandomise name, if success and no cost-estimation. */
|
||||
if (success && !_shift_pressed) this->RandomTownName();
|
||||
}
|
||||
|
||||
virtual void OnClick(Point pt, int widget, int click_count)
|
||||
|
||||
Reference in New Issue
Block a user