diff options
author | rubidium <rubidium@openttd.org> | 2010-08-03 12:07:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-03 12:07:55 +0000 |
commit | 1c86321d3526b70deecb5ea04eb3c878ed37808e (patch) | |
tree | 44730fdcfccb18fbfb2a108311621357b7899c3a /src/table | |
parent | d687b49a4e45590c4adf24367d3be45c2b091943 (diff) | |
download | openttd-1c86321d3526b70deecb5ea04eb3c878ed37808e.tar.xz |
(svn r20340) -Codechange: introduce some flags for objects and use them in some places
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/unmovable_land.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/table/unmovable_land.h b/src/table/unmovable_land.h index 780b96ec2..5acc8ca11 100644 --- a/src/table/unmovable_land.h +++ b/src/table/unmovable_land.h @@ -125,9 +125,9 @@ static const DrawTileSprites _unmovable_hq[] = { /** Specification of the original unmovable structures. */ static const UnmovableSpec _original_unmovable[] = { - { STR_LAI_UNMOVABLE_DESCRIPTION_TRANSMITTER, 0x11, 1, 1 }, - { STR_LAI_UNMOVABLE_DESCRIPTION_LIGHTHOUSE, 0x11, 1, 1 }, - { STR_TOWN_BUILDING_NAME_STATUE_1, 0x11, 1, 1 }, - { STR_LAI_UNMOVABLE_DESCRIPTION_COMPANY_OWNED_LAND, 0x11, 10, 2 }, - { STR_LAI_UNMOVABLE_DESCRIPTION_COMPANY_HEADQUARTERS, 0x22, 1, 1 }, + { STR_LAI_UNMOVABLE_DESCRIPTION_TRANSMITTER, 0x11, 1, 1, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_REQUIRE_FLAT }, + { STR_LAI_UNMOVABLE_DESCRIPTION_LIGHTHOUSE, 0x11, 1, 1, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_REQUIRE_FLAT }, + { STR_TOWN_BUILDING_NAME_STATUE_1, 0x11, 1, 1, OBJECT_FLAG_CANNOT_REMOVE }, + { STR_LAI_UNMOVABLE_DESCRIPTION_COMPANY_OWNED_LAND, 0x11, 10, 2, OBJECT_FLAG_AUTOREMOVE | OBJECT_FLAG_CLEAR_INCOME | OBJECT_FLAG_HAS_NO_FOUNDATION | OBJECT_FLAG_ALLOW_UNDER_BRIDGE }, + { STR_LAI_UNMOVABLE_DESCRIPTION_COMPANY_HEADQUARTERS, 0x22, 1, 1, OBJECT_FLAG_CANNOT_REMOVE }, }; |