summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-09-22 00:59:27 +0000
committerbelugas <belugas@openttd.org>2007-09-22 00:59:27 +0000
commit47dd4989a8dabe485d87743468b3eddb18e19bb6 (patch)
treeb2609693d5ea111ce7810f2e1b46195bfb4f9876 /src/industry.h
parenta6a8502ca3f762d7903768044b7ce965c229f5ff (diff)
downloadopenttd-47dd4989a8dabe485d87743468b3eddb18e19bb6.tar.xz
(svn r11137) -Feature: [NewGRF] Add support for bit 17 of property 1A for Industries. This bit enables the protection of the last instance of an industry type once raise.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index 265f2a333..d2fabf2dd 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -81,6 +81,7 @@ enum IndustyBehaviour {
INDUSTRYBEH_AIRPLANE_ATTACKS = 1 << 11, ///< can be exploded by a military airplane (oil refinery)
INDUSTRYBEH_CHOPPER_ATTACKS = 1 << 12, ///< can be exploded by a military helicopter (factory)
INDUSTRYBEH_CAN_SUBSIDENCE = 1 << 13, ///< can cause a subsidence (coal mine, shaft that collapses)
+ INDUSTRYBEH_CANCLOSE_LASTINSTANCE = 1 << 17, ///< Allow closing down the last instance of this type
};