summaryrefslogtreecommitdiff
path: root/src/newgrf_object.h
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-10-16 19:11:34 +0000
committerplanetmaker <planetmaker@openttd.org>2013-10-16 19:11:34 +0000
commitf5e408fa1c9a8de586e532d517d4e6da10ef09cb (patch)
tree5386e852cf8ea2597fc7e3aaf8385b4754652334 /src/newgrf_object.h
parent5ab204c8a170e692835e126daa00987c5f0217b6 (diff)
downloadopenttd-f5e408fa1c9a8de586e532d517d4e6da10ef09cb.tar.xz
(svn r25868) -Fix (r25650): Initialization of default objects swapped costs and dates
Diffstat (limited to 'src/newgrf_object.h')
-rw-r--r--src/newgrf_object.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/newgrf_object.h b/src/newgrf_object.h
index 2d9fe5665..2c01b42d4 100644
--- a/src/newgrf_object.h
+++ b/src/newgrf_object.h
@@ -52,7 +52,10 @@ enum ObjectClassID {
/** Allow incrementing of ObjectClassID variables */
DECLARE_POSTFIX_INCREMENT(ObjectClassID)
-/** An object that isn't use for transport, industries or houses. */
+/** An object that isn't use for transport, industries or houses.
+ * @note If you change this struct, adopt the initialization of
+ * default objects in table/object_land.h
+ */
struct ObjectSpec {
/* 2 because of the "normal" and "buy" sprite stacks. */
GRFFilePropsBase<2> grf_prop; ///< Properties related the the grf file