mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
implement saving of objects and fix other bugs
This commit is contained in:
@@ -69,7 +69,7 @@ MemoryStream::MemoryStream(const void * data, size_t dataSize)
|
||||
|
||||
MemoryStream::~MemoryStream()
|
||||
{
|
||||
if (MEMORY_ACCESS_OWNER)
|
||||
if (_access & MEMORY_ACCESS_OWNER)
|
||||
{
|
||||
Memory::Free(_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user