diff options
author | frosch <frosch@openttd.org> | 2013-10-12 16:30:42 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-10-12 16:30:42 +0000 |
commit | 35d7e8bca4e24bc211ed24d07fba62193d5f5f31 (patch) | |
tree | 5bd7a702966ef90ce1c815b3d73d380e6be0e628 /src/object_base.h | |
parent | 2080a8c16ff4190a8a32f6f3618323f2d3671f5c (diff) | |
download | openttd-35d7e8bca4e24bc211ed24d07fba62193d5f5f31.tar.xz |
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
Diffstat (limited to 'src/object_base.h')
-rw-r--r-- | src/object_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object_base.h b/src/object_base.h index 8f3ddb1b4..676fc9c9c 100644 --- a/src/object_base.h +++ b/src/object_base.h @@ -23,6 +23,7 @@ extern ObjectPool _object_pool; /** An object, such as transmitter, on the map. */ struct Object : ObjectPool::PoolItem<&_object_pool> { + ObjectType type; ///< Type of the object Town *town; ///< Town the object is built in TileArea location; ///< Location of the object Date build_date; ///< Date of construction |