mirror of https://github.com/OpenTTD/OpenTTD
(svn r20522) -Fix [FS#4041] (r20482): the wrong "delete" was called for Objects
parent
69feef4899
commit
edec7723cd
|
@ -29,6 +29,8 @@ struct Object : ObjectPool::PoolItem<&_object_pool> {
|
|||
|
||||
/** Make sure the object isn't zeroed. */
|
||||
Object() {}
|
||||
/** Make sure the right destructor is called as well! */
|
||||
~Object() {}
|
||||
|
||||
/**
|
||||
* Get the object associated with a tile.
|
||||
|
|
Loading…
Reference in New Issue