mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress
This commit is contained in:
@@ -106,7 +106,7 @@ bool HasRoadTypesAvail(const CompanyID company, const RoadTypes rts)
|
||||
{
|
||||
RoadTypes avail_roadtypes;
|
||||
|
||||
if (company == OWNER_TOWN || _game_mode == GM_EDITOR || IsGeneratingWorld()) {
|
||||
if (company == OWNER_TOWN || _game_mode == GM_EDITOR || _generating_world) {
|
||||
avail_roadtypes = ROADTYPES_ROAD;
|
||||
} else {
|
||||
Company *c = Company::GetIfValid(company);
|
||||
|
Reference in New Issue
Block a user