(svn r20522) -Fix [FS#4041] (r20482): the wrong "delete" was called for Objects
This commit is contained in:
		| @@ -29,6 +29,8 @@ struct Object : ObjectPool::PoolItem<&_object_pool> { | |||||||
|  |  | ||||||
| 	/** Make sure the object isn't zeroed. */ | 	/** Make sure the object isn't zeroed. */ | ||||||
| 	Object() {} | 	Object() {} | ||||||
|  | 	/** Make sure the right destructor is called as well! */ | ||||||
|  | 	~Object() {} | ||||||
|  |  | ||||||
| 	/** | 	/** | ||||||
| 	 * Get the object associated with a tile. | 	 * Get the object associated with a tile. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 rubidium
					rubidium