From 1c86321d3526b70deecb5ea04eb3c878ed37808e Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 3 Aug 2010 12:07:55 +0000 Subject: (svn r20340) -Codechange: introduce some flags for objects and use them in some places --- src/table/unmovable_land.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/table') 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 }, }; -- cgit v1.2.3-70-g09d2