summaryrefslogtreecommitdiff
path: root/src/object_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-10 21:32:04 +0000
committerrubidium <rubidium@openttd.org>2010-12-10 21:32:04 +0000
commitcd6180a46d0f15f66f170fc89886980e7a49dab7 (patch)
tree22b6791af923703c7703f4e4597e3d3c4a4873be /src/object_base.h
parentfdeab92dc7d5391bd9be48cd29beafbced278cb1 (diff)
downloadopenttd-cd6180a46d0f15f66f170fc89886980e7a49dab7.tar.xz
(svn r21453) -Codechange: add the view of an object to the savegame
Diffstat (limited to 'src/object_base.h')
-rw-r--r--src/object_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object_base.h b/src/object_base.h
index 4220a0c4c..a006e16e7 100644
--- a/src/object_base.h
+++ b/src/object_base.h
@@ -28,6 +28,7 @@ struct Object : ObjectPool::PoolItem<&_object_pool> {
TileArea location; ///< Location of the object
Date build_date; ///< Date of construction
byte colour; ///< Colour of the object, for display purpose
+ byte view; ///< The view setting for this object
/** Make sure the object isn't zeroed. */
Object() {}