diff options
author | rubidium <rubidium@openttd.org> | 2013-07-04 20:05:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-07-04 20:05:07 +0000 |
commit | 1e715bfbea56038588e5fcdad8bab92422e4c4dc (patch) | |
tree | 5ba999bd16ec0c0ab63602f075fd0585d990b1c4 /src/table/object_land.h | |
parent | 021cc1567263cdd8e101b22fa2a49c273a1d89e3 (diff) | |
download | openttd-1e715bfbea56038588e5fcdad8bab92422e4c4dc.tar.xz |
(svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company
Diffstat (limited to 'src/table/object_land.h')
-rw-r--r-- | src/table/object_land.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/object_land.h b/src/table/object_land.h index 3c7ac1bc0..ed15a11bf 100644 --- a/src/table/object_land.h +++ b/src/table/object_land.h @@ -130,7 +130,7 @@ extern const ObjectSpec _original_objects[] = { M(STR_LAI_OBJECT_DESCRIPTION_TRANSMITTER, 0x11, 0, 0, 10, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_SCENEDIT), M(STR_LAI_OBJECT_DESCRIPTION_LIGHTHOUSE, 0x11, 0, 0, 8, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_SCENEDIT), M(STR_TOWN_BUILDING_NAME_STATUE_1, 0x11, 0, 0, 5, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_GAME | OBJECT_FLAG_ONLY_IN_SCENEDIT), // Yes, we disallow building this everywhere. Happens in "special" case! - M(STR_LAI_OBJECT_DESCRIPTION_COMPANY_OWNED_LAND, 0x11, 10, 10, 0, OBJECT_FLAG_AUTOREMOVE | OBJECT_FLAG_ONLY_IN_GAME | OBJECT_FLAG_CLEAR_INCOME | OBJECT_FLAG_HAS_NO_FOUNDATION | OBJECT_FLAG_ALLOW_UNDER_BRIDGE), + M(STR_LAI_OBJECT_DESCRIPTION_COMPANY_OWNED_LAND, 0x11, 10, 10, 0, OBJECT_FLAG_AUTOREMOVE | OBJECT_FLAG_ONLY_IN_GAME | OBJECT_FLAG_CLEAR_INCOME | OBJECT_FLAG_HAS_NO_FOUNDATION ), // Only non-silly use case is to use it when you cannot build a station, so disallow bridges M(STR_LAI_OBJECT_DESCRIPTION_COMPANY_HEADQUARTERS, 0x22, 0, 0, 7, OBJECT_FLAG_CANNOT_REMOVE | OBJECT_FLAG_ONLY_IN_GAME), }; |