update to 1.5.2

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2015-09-01 22:52:41 +03:00
parent 641df04e75
commit 48992033ed
87 changed files with 1446 additions and 847 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
/* $Id: town_gui.cpp 26960 2014-10-05 11:20:02Z peter1138 $ */
/* $Id: town_gui.cpp 27351 2015-07-30 18:53:31Z frosch $ */
/*
* This file is part of OpenTTD.
@@ -1113,7 +1113,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)