mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r20522) -Fix [FS#4041] (r20482): the wrong "delete" was called for Objects
This commit is contained in:
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
Block a user