forked from mirror/OpenTTD
(svn r25833) -Codechange: Move ObjectType from map array into pool item.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user