summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-05-29 14:32:46 +0000
committerbelugas <belugas@openttd.org>2007-05-29 14:32:46 +0000
commit62711444522ab53c5386cd026920722f7589d3b9 (patch)
tree4c504223e3d97675ec4b5d1766ba3432e864057d /src
parent8aaa258122b8f3b2e49cf5fd93f99f9d372467d6 (diff)
downloadopenttd-62711444522ab53c5386cd026920722f7589d3b9.tar.xz
(svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related
Diffstat (limited to 'src')
-rw-r--r--src/industry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/industry.h b/src/industry.h
index 6c3dadf70..ab5a54f9b 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -99,7 +99,6 @@ struct GRFFileProps {
struct SpriteGroup *spritegroup; ///< pointer to the different sprites of the industry
const struct GRFFile *grffile; ///< grf file that introduced this house
uint8 override; ///< id of the entity been replaced by
- bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
};
/**
@@ -132,6 +131,7 @@ struct IndustrySpec {
const uint8 *random_sounds; ///< array of random sounds.
/* Newgrf data */
uint16 callback_flags; ///< Flags telling which grf callback is set
+ bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
struct GRFFileProps grf_prop; ///< properties related the the grf file
};
@@ -148,6 +148,7 @@ struct IndustryTileSpec {
///< state instead of the construction state
/* Newgrf data */
uint8 callback_flags; ///< Flags telling which grf callback is set
+ bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though
struct GRFFileProps grf_prop;
};